Fix failing spec

This commit is contained in:
Stan Hu 2018-07-25 22:32:10 -07:00
parent 0612b07037
commit e52f6bf5f9

View file

@ -46,19 +46,19 @@ module BitbucketServer
end
def source_branch_name
dig('fromRef', 'id')
raw.dig('fromRef', 'id')
end
def source_branch_sha
dig('fromRef', 'latestCommit')
raw.dig('fromRef', 'latestCommit')
end
def target_branch_name
dig('toRef', 'id')
raw.dig('toRef', 'id')
end
def target_branch_sha
dig('toRef', 'latestCommit')
raw.dig('toRef', 'latestCommit')
end
private