diff options
Diffstat (limited to 'spec/lib/bitbucket/representation/pull_request_spec.rb')
-rw-r--r-- | spec/lib/bitbucket/representation/pull_request_spec.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/lib/bitbucket/representation/pull_request_spec.rb b/spec/lib/bitbucket/representation/pull_request_spec.rb index 9ebf59ecf82..9aeeef320ed 100644 --- a/spec/lib/bitbucket/representation/pull_request_spec.rb +++ b/spec/lib/bitbucket/representation/pull_request_spec.rb @@ -74,11 +74,13 @@ RSpec.describe Bitbucket::Representation::PullRequest, feature_category: :import 'title' => 'title', 'source' => { 'branch' => { 'name' => 'source-branch-name' }, - 'commit' => { 'hash' => 'source-commit-hash' } + 'commit' => { 'hash' => 'source-commit-hash' }, + 'repository' => { 'uuid' => 'uuid' } }, 'destination' => { 'branch' => { 'name' => 'destination-branch-name' }, - 'commit' => { 'hash' => 'destination-commit-hash' } + 'commit' => { 'hash' => 'destination-commit-hash' }, + 'repository' => { 'uuid' => 'uuid' } }, 'merge_commit' => { 'hash' => 'merge-commit-hash' }, 'reviewers' => [ @@ -101,6 +103,7 @@ RSpec.describe Bitbucket::Representation::PullRequest, feature_category: :import target_branch_sha: 'destination-commit-hash', title: 'title', updated_at: 'updated-at', + source_and_target_project_different: false, reviewers: ['user-2'] } |