lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -23,10 +23,10 @@
#
# # good
# expect(foo).to receive(:bar)
#
class MessageExpectation < Cop
- include RuboCop::RSpec::SpecOnly, ConfigurableEnforcedStyle
+ include ConfigurableEnforcedStyle
MSG = 'Prefer `%s` for setting message expectations.'.freeze
SUPPORTED_STYLES = %w(allow expect).freeze