diff options
Diffstat (limited to 'spec/services/merge_requests/pushed_branches_service_spec.rb')
-rw-r--r-- | spec/services/merge_requests/pushed_branches_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/merge_requests/pushed_branches_service_spec.rb b/spec/services/merge_requests/pushed_branches_service_spec.rb index cb5d0a6bd25..de99fb244d3 100644 --- a/spec/services/merge_requests/pushed_branches_service_spec.rb +++ b/spec/services/merge_requests/pushed_branches_service_spec.rb @@ -8,7 +8,7 @@ RSpec.describe MergeRequests::PushedBranchesService, feature_category: :source_c context 'when branches pushed' do let(:pushed_branches) do - %w(branch1 branch2 closed-branch1 closed-branch2 extra1 extra2).map do |branch| + %w[branch1 branch2 closed-branch1 closed-branch2 extra1 extra2].map do |branch| { ref: "refs/heads/#{branch}" } end end @@ -31,7 +31,7 @@ RSpec.describe MergeRequests::PushedBranchesService, feature_category: :source_c context 'when tags pushed' do let(:pushed_branches) do - %w(v10.0.0 v11.0.2 v12.1.0).map do |branch| + %w[v10.0.0 v11.0.2 v12.1.0].map do |branch| { ref: "refs/tags/#{branch}" } end end |