<%= _('User accounts') %>
diff --git a/test/functional/sessions_controller_test.rb b/test/functional/sessions_controller_test.rb
index a428d8f..cc9e3dc 100644
--- a/test/functional/sessions_controller_test.rb
+++ b/test/functional/sessions_controller_test.rb
@@ -29,7 +29,7 @@
# ----------------------------------------------------------
test "unknown user's session[:locale] set to FastGettext.default_locale" do
post user_session_path, {user: {email: 'testing.session@example.org'}}
- assert_equal nil, session[:locale], "expected the new user's locale to be empty"
+ assert_nil session[:locale], "expected the new user's locale to be empty"
assert_equal FastGettext.default_locale, FastGettext.locale, "expected the FastGettext to use the default locale"
assert_response :redirect
assert_redirected_to root_path
@@ -51,7 +51,7 @@
# ----------------------------------------------------------
test "delete the user session" do
delete destroy_user_session_path
- assert_equal nil, session[:locale], "expected the locale to have been deleted from the session"
+ assert_nil session[:locale], "expected the locale to have been deleted from the session"
assert_response :redirect
if Rails.application.config.shibboleth_enabled
assert_redirected_to Rails.application.config.shibboleth_logout_url + root_url
diff --git a/test/integration/authentication_test.rb b/test/integration/authentication_test.rb
index c647877..3c7dc0f 100644
--- a/test/integration/authentication_test.rb
+++ b/test/integration/authentication_test.rb
@@ -39,7 +39,7 @@
get root_path
# Make sure that the user is sent to the page that lists their plans
- assert_select 'h1', _('Welcome.')
+ assert_select 'h1', _('Welcome to DMPRoadmap.')
end
# ----------------------------------------------------------
@@ -58,7 +58,7 @@
# Make sure that the user is sent to the page that lists their plans
assert_response :success
- assert_select 'h1', _('Welcome.')
+ assert_select 'h1', _('Welcome to DMPRoadmap.')
end
end
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 0c0f4c7..79bbf1f 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -412,7 +412,7 @@
follow_redirects
assert_response :success
- assert_select 'main h1', _('Welcome.')
+ assert_select 'main h1', _('Welcome to DMPRoadmap.')
end
# ----------------------------------------------------------------------