mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Fix remaining rubocop offenses
- Fix string literal style in doorkeeper.rb - Add missing final newlines - Remove trailing whitespace - Fix array bracket spacing in migrations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8296e10246
commit
7aca5a2277
7 changed files with 10 additions and 10 deletions
|
@ -39,7 +39,7 @@ class Api::V1::AuthControllerTest < ActionDispatch::IntegrationTest
|
|||
assert_equal "newuser@example.com", response_data["user"]["email"]
|
||||
assert_equal "New", response_data["user"]["first_name"]
|
||||
assert_equal "User", response_data["user"]["last_name"]
|
||||
|
||||
|
||||
# OAuth token assertions
|
||||
assert response_data["access_token"].present?
|
||||
assert response_data["refresh_token"].present?
|
||||
|
@ -217,7 +217,7 @@ class Api::V1::AuthControllerTest < ActionDispatch::IntegrationTest
|
|||
|
||||
assert_equal user.id.to_s, response_data["user"]["id"]
|
||||
assert_equal user.email, response_data["user"]["email"]
|
||||
|
||||
|
||||
# OAuth token assertions
|
||||
assert response_data["access_token"].present?
|
||||
assert response_data["refresh_token"].present?
|
||||
|
@ -351,7 +351,7 @@ class Api::V1::AuthControllerTest < ActionDispatch::IntegrationTest
|
|||
user = users(:family_admin)
|
||||
device = user.mobile_devices.create!(@device_info)
|
||||
oauth_app = device.create_oauth_application!
|
||||
|
||||
|
||||
# Create initial token
|
||||
initial_token = Doorkeeper::AccessToken.create!(
|
||||
application: oauth_app,
|
||||
|
@ -407,4 +407,4 @@ class Api::V1::AuthControllerTest < ActionDispatch::IntegrationTest
|
|||
response_data = JSON.parse(response.body)
|
||||
assert_equal "Refresh token is required", response_data["error"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue