lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -8,11 +8,10 @@
# It can be configured to ignore strings when certain metadata is passed.
#
# Ignores Rails and Aruba `type` metadata by default.
#
# @example `IgnoredMetadata` configuration
- #
# # .rubocop.yml
# # RSpec/DescribeClass:
# # IgnoredMetadata:
# # type:
# # - request
@@ -32,9 +31,10 @@
# subject { Object.const_get(self.class.description) }
# end
#
# describe "A feature example", type: :feature do
# end
+ #
class DescribeClass < Base
include TopLevelGroup
MSG = 'The first argument to describe should be ' \
'the class or module being tested.'