Autofix Rubocop Lint/AmbiguousOperator (#23680)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user