Fix new rubocop warnings
This commit is contained in:
parent
fff12dd970
commit
3512d6303c
3 changed files with 7 additions and 7 deletions
|
@ -18,7 +18,7 @@ class PageLocaleTest < ActionDispatch::IntegrationTest
|
|||
follow_redirect!
|
||||
|
||||
get "/diary/new"
|
||||
assert_equal [], User.find(user.id).languages
|
||||
assert_empty User.find(user.id).languages
|
||||
assert_select "html[lang=?]", "en"
|
||||
|
||||
get "/diary/new", :headers => { "HTTP_ACCEPT_LANGUAGE" => "fr, en" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue