Fix rubocop warnings
This commit is contained in:
parent
2ef6a960d1
commit
8fe1899596
58 changed files with 500 additions and 488 deletions
|
@ -329,6 +329,7 @@ class OAuthTest < ActionDispatch::IntegrationTest
|
|||
assert_not_nil token.created_at
|
||||
assert_nil token.authorized_at
|
||||
assert_nil token.invalidated_at
|
||||
assert_equal options[:oauth_callback], token.callback_url
|
||||
assert_allowed token, client.permissions
|
||||
|
||||
token
|
||||
|
|
|
@ -81,7 +81,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
|
|||
assert_difference("User.count") do
|
||||
assert_difference("ActionMailer::Base.deliveries.size", 1) do
|
||||
post_via_redirect "/user/save", {},
|
||||
{ "HTTP_ACCEPT_LANGUAGE" => "#{locale}" }
|
||||
{ "HTTP_ACCEPT_LANGUAGE" => locale.to_s }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue