lib/rubocop/cop/rspec_cops.rb in rubocop-rspec-2.27.1 vs lib/rubocop/cop/rspec_cops.rb in rubocop-rspec-2.28.0
- old
+ new
@@ -16,17 +16,13 @@
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
+require_relative 'rspec/rails/http_status'
require_relative 'rspec/rails/inferred_spec_type'
require_relative 'rspec/rails/minitest_assertions'
+require_relative 'rspec/rails/negation_be_valid'
require_relative 'rspec/rails/travel_around'
require_relative 'rspec/align_left_let_brace'
require_relative 'rspec/align_right_let_brace'
require_relative 'rspec/any_instance'