X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cee9818dfc9ac3f6eae01cdb51df9093ae5d1322..a35f360d5eb96fc553afaf17818a3ace0665a03d:/test/system/issues_test.rb diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 4d6d9519b..327b888bc 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -5,7 +5,7 @@ class IssuesTest < ApplicationSystemTestCase def test_view_issues_not_logged_in visit issues_path - assert_content I18n.t("sessions.new.title") + assert_content "Log in" end def test_view_issues_normal_user @@ -183,7 +183,7 @@ class IssuesTest < ApplicationSystemTestCase end # Second Page - click_on I18n.t("issues.page.older_issues") + click_on "Older Issues" assert_no_content I18n.t("issues.page.user_not_found") assert_no_content I18n.t("issues.page.issues_not_found") 4.upto(8).each do |n| @@ -194,7 +194,7 @@ class IssuesTest < ApplicationSystemTestCase end # Back to First Page - click_on I18n.t("issues.page.newer_issues") + click_on "Newer Issues" assert_no_content I18n.t("issues.page.user_not_found") assert_no_content I18n.t("issues.page.issues_not_found") 4.upto(8).each do |n|