Pass translation scope instead of keys to shared pagination
This commit is contained in:
parent
a39886ac4c
commit
7633657ecb
9 changed files with 31 additions and 33 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue