You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(error.errors).toeql([{:message=>"Validation Failed\nError: No commits between master and noexist\nSee: https://developer.github.com/enterprise/2.6/v3/pulls/#create-a-pull-request",:error=>"No commits between master and noexist",:documentation_url=>"https://developer.github.com/enterprise/2.6/v3/pulls/#create-a-pull-request"}])
46
+
expect(error.error_messages).toeql([{:message=>"Validation Failed\nError: No commits between master and noexist\nSee: https://developer.github.com/enterprise/2.6/v3/pulls/#create-a-pull-request",:error=>"No commits between master and noexist",:documentation_url=>"https://developer.github.com/enterprise/2.6/v3/pulls/#create-a-pull-request"}])
47
47
end
48
48
49
49
it"creates message with multiple errors summary"do
expect(error.errors).toeql([{:resource=>"PullRequest",:code=>"missing_field",:field=>"head_sha"},{:resource=>"PullRequest",:code=>"missing_field",:field=>"base_sha"},{:resource=>"PullRequest",:code=>"custom",:message=>"No commits between master and noexist"}])
0 commit comments