summaryrefslogtreecommitdiff
path: root/spec/services/auth
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-05-23 19:37:59 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-05-24 15:40:29 -0400
commit75739e54be0fca389c05d3d9d3de69737c0ff3ab (patch)
tree2d3f313a20e8cc57c6f62009f379a9e78d9ebd18 /spec/services/auth
parent16ca3ee636a50c81674309bb95e067d3faf56bb6 (diff)
downloadgitlab-ce-75739e54be0fca389c05d3d9d3de69737c0ff3ab.tar.gz
Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonot
Also removes the note from the development/testing.md guide
Diffstat (limited to 'spec/services/auth')
-rw-r--r--spec/services/auth/container_registry_authentication_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb
index 3f4a1ced2b6..98ef9d21035 100644
--- a/spec/services/auth/container_registry_authentication_service_spec.rb
+++ b/spec/services/auth/container_registry_authentication_service_spec.rb
@@ -52,12 +52,12 @@ describe Auth::ContainerRegistryAuthenticationService, services: true do
shared_examples 'an unauthorized' do
it { is_expected.to include(http_status: 401) }
- it { is_expected.to_not include(:token) }
+ it { is_expected.not_to include(:token) }
end
shared_examples 'a forbidden' do
it { is_expected.to include(http_status: 403) }
- it { is_expected.to_not include(:token) }
+ it { is_expected.not_to include(:token) }
end
describe '#full_access_token' do