We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58dd803 + c817490 commit d028400Copy full SHA for d028400
docs/modules/ROOT/pages/cops_rspec.adoc
@@ -1483,6 +1483,8 @@ end
1483
1484
Checks for `expect(...)` calls containing literal values.
1485
1486
+Autocorrection is performed when the expected is not a literal.
1487
+
1488
=== Examples
1489
1490
[source,ruby]
lib/rubocop/cop/rspec/expect_actual.rb
@@ -5,6 +5,8 @@ module Cop
5
module RSpec
6
# Checks for `expect(...)` calls containing literal values.
7
#
8
+ # Autocorrection is performed when the expected is not a literal.
9
+ #
10
# @example
11
# # bad
12
# expect(5).to eq(price)
0 commit comments