diff options
Diffstat (limited to 'rubocop/cop/rspec/be_success_matcher.rb')
-rw-r--r-- | rubocop/cop/rspec/be_success_matcher.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rubocop/cop/rspec/be_success_matcher.rb b/rubocop/cop/rspec/be_success_matcher.rb index ca937a8ee9f..0b7d737f4e2 100644 --- a/rubocop/cop/rspec/be_success_matcher.rb +++ b/rubocop/cop/rspec/be_success_matcher.rb @@ -41,7 +41,6 @@ module RuboCop end def on_send(node) - return unless in_controller_spec?(node) return unless be_success_usage?(node) add_offense(node, location: :expression, message: MESSAGE) |