From f27daddfc67b0c5f4510a59f1180f22e2d16d324 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Tue, 31 May 2016 15:38:42 +0200 Subject: [PATCH] Fix rubocop offenses --- .../auth/container_registry_authentication_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/auth/container_registry_authentication_service_spec.rb b/spec/services/auth/container_registry_authentication_service_spec.rb index 647731addc4..67777ad48bc 100644 --- a/spec/services/auth/container_registry_authentication_service_spec.rb +++ b/spec/services/auth/container_registry_authentication_service_spec.rb @@ -23,7 +23,7 @@ describe Auth::ContainerRegistryAuthenticationService, services: true do let(:expire_delay) { 10 } context 'for default configuration' do - it { expect(expires_at).to_not be_within(2.seconds).of(Time.now + expire_delay.minutes) } + it { expect(expires_at).not_to be_within(2.seconds).of(Time.now + expire_delay.minutes) } end context 'for changed configuration' do -- GitLab