Fix new rubocopy warnings

This commit is contained in:
Tom Hughes 2015-08-18 20:57:14 +01:00
parent 7ce77006fa
commit c9d35839be
30 changed files with 173 additions and 102 deletions

View file

@ -20,7 +20,7 @@ class LocaleTest < ActionDispatch::IntegrationTest
assert_equal [], User.find(user.id).languages
assert_select "html[lang=?]", "en"
get "/diary/new", {}, { "HTTP_ACCEPT_LANGUAGE" => "fr, en" }
get "/diary/new", {}, { "HTTP_ACCEPT_LANGUAGE" => "fr, en" }
assert_equal %w(fr en), User.find(user.id).languages
assert_select "html[lang=?]", "fr"
end