lib/rubocop/cop/rspec_cops.rb in rubocop-rspec-2.13.2 vs lib/rubocop/cop/rspec_cops.rb in rubocop-rspec-2.14.0
- old
+ new
@@ -1,14 +1,17 @@
# frozen_string_literal: true
require_relative 'rspec/capybara/current_path_expectation'
require_relative 'rspec/capybara/feature_methods'
+require_relative 'rspec/capybara/negation_matcher'
+require_relative 'rspec/capybara/specific_actions'
require_relative 'rspec/capybara/specific_finders'
require_relative 'rspec/capybara/specific_matcher'
require_relative 'rspec/capybara/visibility_matcher'
require_relative 'rspec/factory_bot/attribute_defined_statically'
+require_relative 'rspec/factory_bot/consistent_parentheses_style'
require_relative 'rspec/factory_bot/create_list'
require_relative 'rspec/factory_bot/factory_class_name'
require_relative 'rspec/factory_bot/syntax_methods'
require_relative 'rspec/rails/avoid_setup_hook'
@@ -16,10 +19,11 @@
begin
require_relative 'rspec/rails/http_status'
rescue LoadError
# Rails/HttpStatus cannot be loaded if rack/utils is unavailable.
end
+require_relative 'rspec/rails/inferred_spec_type'
require_relative 'rspec/align_left_let_brace'
require_relative 'rspec/align_right_let_brace'
require_relative 'rspec/any_instance'
require_relative 'rspec/around_block'
@@ -95,9 +99,10 @@
require_relative 'rspec/scattered_let'
require_relative 'rspec/scattered_setup'
require_relative 'rspec/shared_context'
require_relative 'rspec/shared_examples'
require_relative 'rspec/single_argument_message_chain'
+require_relative 'rspec/sort_metadata'
require_relative 'rspec/stubbed_mock'
require_relative 'rspec/subject_declaration'
require_relative 'rspec/subject_stub'
require_relative 'rspec/unspecified_exception'
require_relative 'rspec/variable_definition'