about summary refs log tree commit diff
path: root/spec/controllers/api
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-17 21:05:57 -0500
committerGitHub <noreply@github.com>2023-02-18 11:05:57 +0900
commitac59d6f19f00f1503343cd587c4238dc0038127a (patch)
treeb0960d3c19a9cd516242622ff3fe71fc84b48881 /spec/controllers/api
parent669f6d2c0af969268c76e389ed626bce0cc9f998 (diff)
Enable Rubocop Style/NumericLiterals (#23647)
Diffstat (limited to 'spec/controllers/api')
-rw-r--r--spec/controllers/api/v1/markers_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/api/v1/markers_controller_spec.rb b/spec/controllers/api/v1/markers_controller_spec.rb
index ba0f3c322..64ec18e59 100644
--- a/spec/controllers/api/v1/markers_controller_spec.rb
+++ b/spec/controllers/api/v1/markers_controller_spec.rb
@@ -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