diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-12 20:41:55 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-12 20:41:55 +0200 |
commit | a2be395401f6320d2722bbd98de0c046d05f0480 (patch) | |
tree | 61adbc4057eac670dbd478f4ac6493a02865c196 /lib/bitbucket/representation | |
parent | c45484ba193baa811e50aaa106a2c0ed3721d6e8 (diff) | |
download | gitlab-ce-a2be395401f6320d2722bbd98de0c046d05f0480.tar.gz |
specs for bitbucket representers
Diffstat (limited to 'lib/bitbucket/representation')
-rw-r--r-- | lib/bitbucket/representation/pull_request_comment.rb | 6 |
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 |