diff --git a/spec/system/consumer/multilingual_spec.rb b/spec/system/consumer/multilingual_spec.rb index 5676823cb8..796ac9c386 100644 --- a/spec/system/consumer/multilingual_spec.rb +++ b/spec/system/consumer/multilingual_spec.rb @@ -15,7 +15,8 @@ describe 'Multilingual', js: true do expect(Rails.application.config.i18n[:available_locales]).to eq ['en', 'es', 'pt'] end - it '18n-js fallsback to default language' do # in backend it doesn't until we change enforce_available_locales to `true` + it '18n-js fallsback to default language' do + # in backend it doesn't until we change enforce_available_locales to `true` visit root_path set_i18n_locale('it') expect(get_i18n_translation('label_shops')).to eq 'Shops' @@ -141,6 +142,6 @@ describe 'Multilingual', js: true do end def expect_menu_and_cookie_in_es - expect(cookies_name['locale']).to have_attributes(:value=>"es") + expect(cookies_name['locale']).to have_attributes(value: "es") expect(page).to have_content 'TIENDAS' end