lib/rubocop/cop/rspec/not_to_not.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/not_to_not.rb in rubocop-rspec-2.13.0

- old
+ new

@@ -4,11 +4,10 @@ module Cop module RSpec # Checks for consistent method usage for negating expectations. # # @example `EnforcedStyle: not_to` (default) - # # # bad # it '...' do # expect(false).to_not be_true # end # @@ -16,19 +15,19 @@ # it '...' do # expect(false).not_to be_true # end # # @example `EnforcedStyle: to_not` - # # # bad # it '...' do # expect(false).not_to be_true # end # # # good # it '...' do # expect(false).to_not be_true # end + # class NotToNot < Base extend AutoCorrector include ConfigurableEnforcedStyle MSG = 'Prefer `%<replacement>s` over `%<original>s`.'