Pass translation scope instead of keys to shared pagination

This commit is contained in:
Anton Khorev 2024-09-10 10:37:36 +03:00
parent a39886ac4c
commit 7633657ecb
9 changed files with 31 additions and 33 deletions

View file

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