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
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|
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|