lib/rubocop/cop/rspec_cops.rb in rubocop-rspec-2.22.0 vs lib/rubocop/cop/rspec_cops.rb in rubocop-rspec-2.23.0
- old
+ new
@@ -16,10 +16,11 @@
require_relative 'rspec/factory_bot/factory_name_style'
require_relative 'rspec/factory_bot/syntax_methods'
require_relative 'rspec/rails/avoid_setup_hook'
require_relative 'rspec/rails/have_http_status'
+require_relative 'rspec/rails/negation_be_valid'
begin
require_relative 'rspec/rails/http_status'
rescue LoadError
# Rails/HttpStatus cannot be loaded if rack/utils is unavailable.
end
@@ -97,9 +98,10 @@
require_relative 'rspec/overwriting_setup'
require_relative 'rspec/pending'
require_relative 'rspec/pending_without_reason'
require_relative 'rspec/predicate_matcher'
require_relative 'rspec/receive_counts'
+require_relative 'rspec/receive_messages'
require_relative 'rspec/receive_never'
require_relative 'rspec/redundant_around'
require_relative 'rspec/repeated_description'
require_relative 'rspec/repeated_example'
require_relative 'rspec/repeated_example_group_body'