lib/rubocop/rspec/language.rb in rubocop-rspec-1.15.1 vs lib/rubocop/rspec/language.rb in rubocop-rspec-1.16.0

- old
+ new

@@ -104,15 +104,20 @@ module Subject ALL = SelectorSet.new(%i[subject subject!]) end + module Expectations + ALL = SelectorSet.new(%i[expect is_expected expect_any_instance_of]) + end + ALL = ExampleGroups::ALL + SharedGroups::ALL + Examples::ALL + Hooks::ALL + Helpers::ALL + - Subject::ALL + Subject::ALL + + Expectations::ALL end end end