lib/rubocop/cop/rspec/not_to_not.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/not_to_not.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -12,11 +12,10 @@
# # good
# it '...' do
# expect(false).not_to be_true
# end
class NotToNot < Cop
- include RuboCop::RSpec::SpecOnly,
- RuboCop::Cop::ConfigurableEnforcedStyle
+ include RuboCop::Cop::ConfigurableEnforcedStyle
MSG = 'Prefer `%s` over `%s`'.freeze
METHOD_NAMES = [:not_to, :to_not].freeze