From c328a756a555d06d4173fc1dbb553765d8b03d14 Mon Sep 17 00:00:00 2001
From: Grzegorz Bizon <grzesiek.bizon@gmail.com>
Date: Tue, 6 Nov 2018 18:01:44 +0100
Subject: [PATCH] Update GitHub service specs

---
 ee/spec/models/project_services/github_service_spec.rb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ee/spec/models/project_services/github_service_spec.rb b/ee/spec/models/project_services/github_service_spec.rb
index 2770c9e828f..bab12205f8e 100644
--- a/ee/spec/models/project_services/github_service_spec.rb
+++ b/ee/spec/models/project_services/github_service_spec.rb
@@ -80,7 +80,10 @@ describe GithubService do
     it 'uses StatusMessage to build message' do
       allow(subject).to receive(:update_status)
 
-      expect(GithubService::StatusMessage).to receive(:from_pipeline_data).with(project, pipeline_sample_data).and_return(status_message)
+      expect(GithubService::StatusMessage)
+        .to receive(:from_pipeline_data)
+        .with(project, subject, pipeline_sample_data)
+        .and_return(status_message)
 
       subject.execute(pipeline_sample_data)
     end
-- 
2.30.9