lib/rubocop-rspec.rb in rubocop-rspec-1.24.0 vs lib/rubocop-rspec.rb in rubocop-rspec-1.25.0
- old
+ new
@@ -4,10 +4,11 @@
require 'rubocop'
require_relative 'rubocop/rspec'
require_relative 'rubocop/rspec/version'
require_relative 'rubocop/rspec/inject'
+require_relative 'rubocop/rspec/node'
require_relative 'rubocop/rspec/top_level_describe'
require_relative 'rubocop/rspec/wording'
require_relative 'rubocop/rspec/util'
require_relative 'rubocop/rspec/language'
require_relative 'rubocop/rspec/language/node_pattern'
@@ -36,5 +37,7 @@
end
end
end
end
end
+
+RuboCop::AST::Node.include(RuboCop::RSpec::Node)