diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index 90ba2aa..b11597a 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -32,7 +32,7 @@ get plan_path(other, plan) assert_redirected_to "#{root_path}?locale=#{I18n.locale}", "Expected the changed locale to appear in the query string" - assert_equal other, I18n.locale, "Expected the locale to have been set when passing it in URL" + assert_equal other.to_sym, I18n.locale, "Expected the locale to have been set when passing it in URL" end end diff --git a/test/functional/registrations_controller_test.rb b/test/functional/registrations_controller_test.rb index 1e9136b..33c633f 100644 --- a/test/functional/registrations_controller_test.rb +++ b/test/functional/registrations_controller_test.rb @@ -65,7 +65,7 @@ follow_redirect! assert_response :success - assert_equal I18n.t('devise.registrations.signed_up_but_unconfirmed'), flash[:notice] + assert_equal I18n.t('devise.registrations.user.signed_up_but_unconfirmed'), flash[:notice] assert_select '.welcome-message h2', I18n.t('welcome_title') cntr += 1