Skip to content

Commit

Permalink
Remove unnecessary constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Jan 5, 2024
1 parent 6e19ee6 commit 2cb8ab5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/rubocop/cop/rspec/message_expectation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class MessageExpectation < Base

MSG = 'Prefer `%<style>s` for setting message expectations.'

SUPPORTED_STYLES = %w[allow expect].freeze
RESTRICT_ON_SEND = %i[to].freeze

# @!method message_expectation(node)
Expand Down
2 changes: 0 additions & 2 deletions lib/rubocop/cop/rspec/message_spies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ class MessageSpies < Base
'expectations. Setup `%<source>s` as a spy using ' \
'`allow` or `instance_spy`.'

SUPPORTED_STYLES = %w[have_received receive].freeze

RESTRICT_ON_SEND = Runners.all

# @!method message_expectation(node)
Expand Down

0 comments on commit 2cb8ab5

Please sign in to comment.