X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f6be9ca4c2bd3f601be082619ac519d916e3ad4..c1415d43b4c817ae096115cac9b000b4076c8fca:/test/system/issues_test.rb?ds=sidebyside 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|