summaryrefslogtreecommitdiff
path: root/spec/lib/container_registry/repository_spec.rb
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/lib/container_registry/repository_spec.rb
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/lib/container_registry/repository_spec.rb')
-rw-r--r--spec/lib/container_registry/repository_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/container_registry/repository_spec.rb b/spec/lib/container_registry/repository_spec.rb
index e6d66b11e4e..279709521c9 100644
--- a/spec/lib/container_registry/repository_spec.rb
+++ b/spec/lib/container_registry/repository_spec.rb
@@ -6,7 +6,7 @@ describe ContainerRegistry::Repository do
it { expect(repository).to respond_to(:registry) }
it { expect(repository).to delegate_method(:client).to(:registry) }
- it { expect(repository.tag('test')).to_not be_nil }
+ it { expect(repository.tag('test')).not_to be_nil }
context '#path' do
subject { repository.path }
@@ -27,7 +27,7 @@ describe ContainerRegistry::Repository do
context '#manifest' do
subject { repository.manifest }
- it { is_expected.to_not be_nil }
+ it { is_expected.not_to be_nil }
end
context '#valid?' do
@@ -39,7 +39,7 @@ describe ContainerRegistry::Repository do
context '#tags' do
subject { repository.tags }
- it { is_expected.to_not be_empty }
+ it { is_expected.not_to be_empty }
end
end