lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.15.0 vs lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.15.1

- old
+ new

@@ -27,10 +27,10 @@ class MessageExpectation < Cop include ConfigurableEnforcedStyle MSG = 'Prefer `%s` for setting message expectations.'.freeze - SUPPORTED_STYLES = %w(allow expect).freeze + SUPPORTED_STYLES = %w[allow expect].freeze def_node_matcher :message_expectation, <<-PATTERN (send $(send nil {:expect :allow} ...) :to #receive_message?) PATTERN