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:
authorValery Sizov <vsv2711@gmail.com>2015-09-15 16:00:45 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-15 16:29:36 +0300
commit88b3195ecfd2d0d74c4e76ce79961cb6db2f8643 (patch)
tree837d7b6fb71675890f34996c23bb5153b5754e5e /spec/models
parente2cbb36ba9751021174fd188d1c29e736f7b5d3d (diff)
fix specs. Stage 6
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/ci/project_services/hip_chat_service_spec.rb4
1 files changed, 2 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 59deb19c23a..063d46b84d4 100644
--- a/spec/models/ci/project_services/hip_chat_service_spec.rb
+++ b/spec/models/ci/project_services/hip_chat_service_spec.rb
@@ -53,13 +53,13 @@ describe Ci::HipChatService do
it "should call the HipChat API" do
service.execute(build)
- HipChatNotifierWorker.drain
+ Ci::HipChatNotifierWorker.drain
expect( WebMock ).to have_requested(:post, api_url).once
end
it "calls the worker with expected arguments" do
- expect( HipChatNotifierWorker ).to receive(:perform_async) \
+ expect( Ci::HipChatNotifierWorker ).to receive(:perform_async) \
.with(an_instance_of(String), hash_including(
token: 'a1b2c3d4e5f6',
room: 123,