summaryrefslogtreecommitdiff
path: root/spec/models/ci/project_services/hip_chat_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/ci/project_services/hip_chat_service_spec.rb')
-rw-r--r--spec/models/ci/project_services/hip_chat_service_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/ci/project_services/hip_chat_service_spec.rb b/spec/models/ci/project_services/hip_chat_service_spec.rb
index 063d46b84d4..8f91a986b3a 100644
--- a/spec/models/ci/project_services/hip_chat_service_spec.rb
+++ b/spec/models/ci/project_services/hip_chat_service_spec.rb
@@ -33,8 +33,7 @@ describe Ci::HipChatService do
describe "Execute" do
let(:service) { Ci::HipChatService.new }
- let(:project) { FactoryGirl.create :ci_project }
- let(:commit) { FactoryGirl.create :ci_commit, project: project }
+ let(:commit) { FactoryGirl.create :ci_commit }
let(:build) { FactoryGirl.create :ci_build, commit: commit, status: 'failed' }
let(:api_url) { 'https://api.hipchat.com/v2/room/123/notification?auth_token=a1b2c3d4e5f6' }