Enable Rubocop Style/NumericLiterals (#23647)
This commit is contained in:
parent
669f6d2c0a
commit
ac59d6f19f
6 changed files with 18 additions and 24 deletions
|
@ -42,7 +42,7 @@ RSpec.describe Api::V1::MarkersController, type: :controller do
|
|||
|
||||
it 'creates a marker' do
|
||||
expect(user.markers.first.timeline).to eq 'home'
|
||||
expect(user.markers.first.last_read_id).to eq 69420
|
||||
expect(user.markers.first.last_read_id).to eq 69_420
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -58,7 +58,7 @@ RSpec.describe Api::V1::MarkersController, type: :controller do
|
|||
|
||||
it 'updates a marker' do
|
||||
expect(user.markers.first.timeline).to eq 'home'
|
||||
expect(user.markers.first.last_read_id).to eq 70120
|
||||
expect(user.markers.first.last_read_id).to eq 70_120
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue