summaryrefslogtreecommitdiff
path: root/lib/bitbucket/representation
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-12-12 20:41:55 +0200
committerValery Sizov <valery@gitlab.com>2016-12-12 20:41:55 +0200
commita2be395401f6320d2722bbd98de0c046d05f0480 (patch)
tree61adbc4057eac670dbd478f4ac6493a02865c196 /lib/bitbucket/representation
parentc45484ba193baa811e50aaa106a2c0ed3721d6e8 (diff)
downloadgitlab-ce-a2be395401f6320d2722bbd98de0c046d05f0480.tar.gz
specs for bitbucket representers
Diffstat (limited to 'lib/bitbucket/representation')
-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