about summary refs log tree commit diff
path: root/spec/validators/url_validator_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/validators/url_validator_spec.rb')
-rw-r--r--spec/validators/url_validator_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/validators/url_validator_spec.rb b/spec/validators/url_validator_spec.rb
index 85eadeb63..966261b50 100644
--- a/spec/validators/url_validator_spec.rb
+++ b/spec/validators/url_validator_spec.rb
@@ -27,7 +27,7 @@ RSpec.describe URLValidator, type: :validator do
       let(:compliant) { true }
 
       it 'not calls errors.add' do
-        expect(errors).not_to have_received(:add).with(attribute, any_args)
+        expect(errors).to_not have_received(:add).with(attribute, any_args)
       end
     end
   end