Autofix Rubocop Lint/AmbiguousOperator (#23680)
This commit is contained in:
parent
ac59d6f19f
commit
6d42820e5d
4 changed files with 7 additions and 15 deletions
|
@ -139,7 +139,7 @@ RSpec.describe UserRole, type: :model do
|
|||
end
|
||||
|
||||
it 'has negative position' do
|
||||
expect(subject.position).to eq -1
|
||||
expect(subject.position).to eq(-1)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -159,7 +159,7 @@ RSpec.describe UserRole, type: :model do
|
|||
end
|
||||
|
||||
it 'has negative position' do
|
||||
expect(subject.position).to eq -1
|
||||
expect(subject.position).to eq(-1)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue