spec/models/notification_spec.rb
Do not use should when describing your tests. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording) Open
Open
it "should not be valid without a user" do
- Exclude checks
Prefer not_to
over to_not
. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NotToNot) Open
Open
expect(notification).to_not be_valid
- Exclude checks
Do not use should when describing your tests. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording) Open
Open
it "should be valid" do
- Exclude checks