lib/rubocop/cop/rspec/expect_actual.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/expect_actual.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -16,9 +16,12 @@
# # good
# expect(price).to eq(5)
# expect(pattern).to eq(/foo/)
# expect(name).to eq("John")
#
+ # # bad (not supported autocorrection)
+ # expect(false).to eq(true)
+ #
class ExpectActual < Base
extend AutoCorrector
MSG = 'Provide the actual you are testing to `expect(...)`.'