summaryrefslogtreecommitdiff
path: root/spec/models/project_services
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-25 16:46:29 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-25 16:46:29 +0000
commitc04f85a3338c415bde094a04d0d027bcd396dfdf (patch)
tree3c4035fb6daca7fd0f57ec7436c55f6bd4ba6a38 /spec/models/project_services
parentf68f837d87de8f2d90a7f6f5ab835cfadfb901d9 (diff)
parent75739e54be0fca389c05d3d9d3de69737c0ff3ab (diff)
downloadgitlab-ce-c04f85a3338c415bde094a04d0d027bcd396dfdf.tar.gz
Merge branch 'rs-rubocop-nottonot' into 'master'
Enable RSpec/NotToNot cop and auto-correct offenses Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/17761 See merge request !4267
Diffstat (limited to 'spec/models/project_services')
-rw-r--r--spec/models/project_services/hipchat_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_services/hipchat_service_spec.rb b/spec/models/project_services/hipchat_service_spec.rb
index 6fb5cad5011..f887ed4bafc 100644
--- a/spec/models/project_services/hipchat_service_spec.rb
+++ b/spec/models/project_services/hipchat_service_spec.rb
@@ -303,7 +303,7 @@ describe HipchatService, models: true do
it "should notify only broken" do
hipchat.notify_only_broken_builds = true
hipchat.execute(data)
- expect(WebMock).to_not have_requested(:post, api_url).once
+ expect(WebMock).not_to have_requested(:post, api_url).once
end
end
end