lib/rubocop/cop/rspec/expect_actual.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/expect_actual.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -15,11 +15,9 @@
# expect(price).to eq(5)
# expect(pattern).to eq(/foo/)
# expect(name).to eq("John")
#
class ExpectActual < Cop
- include RuboCop::RSpec::SpecOnly
-
MSG = 'Provide the actual you are testing to `expect(...)`'.freeze
SIMPLE_LITERALS = %i(
true
false