lib/rubocop-rspec.rb in rubocop-rspec-2.27.1 vs lib/rubocop-rspec.rb in rubocop-rspec-2.28.0
- old
+ new
@@ -37,9 +37,12 @@
require_relative 'rubocop/rspec/corrector/move_node'
require_relative 'rubocop/rspec/example'
require_relative 'rubocop/rspec/example_group'
require_relative 'rubocop/rspec/hook'
+# need after `require 'rubocop/cop/rspec/base'``
+require 'rubocop-rspec_rails'
+
RuboCop::RSpec::Inject.defaults!
require_relative 'rubocop/cop/rspec_cops'
# We have to register our autocorrect incompatibilities in RuboCop's cops