lib/rubocop-rspec.rb in rubocop-rspec-2.21.0 vs lib/rubocop-rspec.rb in rubocop-rspec-2.22.0
- old
+ new
@@ -3,10 +3,11 @@
require 'pathname'
require 'yaml'
require 'rubocop'
require 'rubocop-capybara'
+require 'rubocop-factory_bot'
require_relative 'rubocop/rspec'
require_relative 'rubocop/rspec/inject'
require_relative 'rubocop/rspec/language/node_pattern'
require_relative 'rubocop/rspec/node'
@@ -14,12 +15,10 @@
require_relative 'rubocop/rspec/wording'
# Dependent on `RuboCop::RSpec::Language::NodePattern`.
require_relative 'rubocop/rspec/language'
-require_relative 'rubocop/rspec/factory_bot/language'
-
require_relative 'rubocop/cop/rspec/mixin/final_end_location'
require_relative 'rubocop/cop/rspec/mixin/inside_example_group'
require_relative 'rubocop/cop/rspec/mixin/location_help'
require_relative 'rubocop/cop/rspec/mixin/metadata'
require_relative 'rubocop/cop/rspec/mixin/namespace'
@@ -35,10 +34,9 @@
require_relative 'rubocop/rspec/align_let_brace'
require_relative 'rubocop/rspec/concept'
require_relative 'rubocop/rspec/corrector/move_node'
require_relative 'rubocop/rspec/example'
require_relative 'rubocop/rspec/example_group'
-require_relative 'rubocop/rspec/factory_bot'
require_relative 'rubocop/rspec/hook'
RuboCop::RSpec::Inject.defaults!
require_relative 'rubocop/cop/rspec_cops'