Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/integrations/irker_worker_spec.rb')
-rw-r--r--spec/workers/integrations/irker_worker_spec.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/workers/integrations/irker_worker_spec.rb b/spec/workers/integrations/irker_worker_spec.rb
index 257a6f72709..7a51e9cfe47 100644
--- a/spec/workers/integrations/irker_worker_spec.rb
+++ b/spec/workers/integrations/irker_worker_spec.rb
@@ -88,10 +88,11 @@ RSpec.describe Integrations::IrkerWorker, '#perform', feature_category: :integra
context 'with new commits to existing branch' do
it 'sends a correct message with a compare url' do
- compare_url = Gitlab::Routing.url_helpers
- .project_compare_url(project,
- from: Commit.truncate_sha(push_data[:before]),
- to: Commit.truncate_sha(push_data[:after]))
+ compare_url = Gitlab::Routing.url_helpers.project_compare_url(
+ project,
+ from: Commit.truncate_sha(push_data[:before]),
+ to: Commit.truncate_sha(push_data[:after])
+ )
message = "pushed #{push_data['total_commits_count']} " \
"new commits to master: #{compare_url}"