- click_on I18n.t("issues.page.older_issues")
- assert_no_content I18n.t("issues.index.user_not_found")
- assert_no_content I18n.t("issues.index.issues_not_found")
- assert_css "tr", :count => 31
+ 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|
+ assert_no_content(/extra_#{n}[^\d]/i)
+ end
+ 1.upto(3).each do |n|
+ assert_content(/extra_#{n}[^\d]/i, :count => 2)
+ end