diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-05-23 19:37:59 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-24 15:40:29 -0400 |
commit | 75739e54be0fca389c05d3d9d3de69737c0ff3ab (patch) | |
tree | 2d3f313a20e8cc57c6f62009f379a9e78d9ebd18 /spec/factories_spec.rb | |
parent | 16ca3ee636a50c81674309bb95e067d3faf56bb6 (diff) | |
download | gitlab-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/factories_spec.rb')
-rw-r--r-- | spec/factories_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories_spec.rb b/spec/factories_spec.rb index a073a1f9d7c..675d9bd18b7 100644 --- a/spec/factories_spec.rb +++ b/spec/factories_spec.rb @@ -6,7 +6,7 @@ describe 'factories' do let(:entity) { build(factory.name) } it 'does not raise error when created' do - expect { entity }.to_not raise_error + expect { entity }.not_to raise_error end it 'should be valid', if: factory.build_class < ActiveRecord::Base do |