Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-12-12 21:41:55 +0300
committerValery Sizov <valery@gitlab.com>2016-12-12 21:41:55 +0300
commita2be395401f6320d2722bbd98de0c046d05f0480 (patch)
tree61adbc4057eac670dbd478f4ac6493a02865c196 /lib/bitbucket
parentc45484ba193baa811e50aaa106a2c0ed3721d6e8 (diff)
specs for bitbucket representers
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/representation/pull_request_comment.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bitbucket/representation/pull_request_comment.rb b/lib/bitbucket/representation/pull_request_comment.rb
index ae2b069d6a2..4f3809fbcea 100644
--- a/lib/bitbucket/representation/pull_request_comment.rb
+++ b/lib/bitbucket/representation/pull_request_comment.rb
@@ -6,15 +6,15 @@ module Bitbucket
end
def file_path
- inline.fetch('path', nil)
+ inline.fetch('path')
end
def old_pos
- inline.fetch('from', nil)
+ inline.fetch('from')
end
def new_pos
- inline.fetch('to', nil)
+ inline.fetch('to')
end
def parent_id