Skip to content

Commit

Permalink
Fix AssignmentOnly saying false instead of true in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Skipants committed Mar 18, 2024
1 parent c68115d commit 5faac5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2748,7 +2748,7 @@ end
----
# rubocop.yml
# RSpec/InstanceVariable:
# AssignmentOnly: false
# AssignmentOnly: true
# bad
describe MyClass do
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/instance_variable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module RSpec
# @example with AssignmentOnly configuration
# # rubocop.yml
# # RSpec/InstanceVariable:
# # AssignmentOnly: false
# # AssignmentOnly: true
#
# # bad
# describe MyClass do
Expand Down

0 comments on commit 5faac5e

Please sign in to comment.