lib/rubocop-rspec.rb in rubocop-rspec-0.18.1 vs lib/rubocop-rspec.rb in rubocop-rspec-1.0.rc1
- old
+ new
@@ -2,12 +2,17 @@
require 'rubocop'
require 'rubocop/rspec/version'
require 'rubocop/rspec/inject'
+require 'rubocop/rspec/top_level_describe'
Rubocop::RSpec::Inject.defaults!
-# We are housing ourselves directly into RuboCop's module structure. This is
-# less than ideal, but until RuboCop directly supports plugins, we can avoid
-# breaking too many assumptions.
-require 'rubocop/cop/rspec/unit_spec_naming'
+# cops
+require 'rubocop/cop/rspec_describe_class'
+require 'rubocop/cop/rspec_describe_method'
+require 'rubocop/cop/rspec_described_class'
+require 'rubocop/cop/rspec_example_wording'
+require 'rubocop/cop/rspec_file_name'
+require 'rubocop/cop/rspec_instance_variable'
+require 'rubocop/cop/rspec_multiple_describes'