Fix failing spec
This commit is contained in:
parent
0612b07037
commit
e52f6bf5f9
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue