Commit e52f6bf5 authored by Stan Hu's avatar Stan Hu

Fix failing spec

parent 0612b070
...@@ -46,19 +46,19 @@ module BitbucketServer ...@@ -46,19 +46,19 @@ module BitbucketServer
end end
def source_branch_name def source_branch_name
dig('fromRef', 'id') raw.dig('fromRef', 'id')
end end
def source_branch_sha def source_branch_sha
dig('fromRef', 'latestCommit') raw.dig('fromRef', 'latestCommit')
end end
def target_branch_name def target_branch_name
dig('toRef', 'id') raw.dig('toRef', 'id')
end end
def target_branch_sha def target_branch_sha
dig('toRef', 'latestCommit') raw.dig('toRef', 'latestCommit')
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment