test/teamdrive_api/base_test.rb
Symbol with a boolean name - you probably meant to use false
. Open
Open
assert_equal expected, @r.payload_for(:my_command, false: false)
- Read upRead up
- Exclude checks
This cop checks for :true
and :false
symbols.
In most cases it would be a typo.
Example:
# bad
:true
# good
true
Example:
# bad
:false
# good
false
Symbol with a boolean name - you probably meant to use true
. Open
Open
assert_equal expected, @r.payload_for(:my_command, true: true)
- Read upRead up
- Exclude checks
This cop checks for :true
and :false
symbols.
In most cases it would be a typo.
Example:
# bad
:true
# good
true
Example:
# bad
:false
# good
false