0
0
Fork 0

Enable Rubocop Style/NumericLiterals (#23647)

This commit is contained in:
Nick Schonning 2023-02-17 21:05:57 -05:00 committed by GitHub
parent 669f6d2c0a
commit ac59d6f19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 24 deletions

View file

@ -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