From 1c04af415e2b0cac084ee38e9c007bda11cbeca4 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 28 Feb 2018 16:10:30 +0800 Subject: [PATCH] Update tests for new link text --- test/system/issues_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index f11b05a2d..da9c5f6c8 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -105,7 +105,7 @@ class IssuesTest < ApplicationSystemTestCase visit issues_path - assert page.has_link?(user1.display_name, :href => issue_path(issue1)) - assert page.has_link?(user2.display_name, :href => issue_path(issue2)) + assert page.has_link?(I18n.t(".issues.index.reports_count", :count => issue1.reports_count), :href => issue_path(issue1)) + assert page.has_link?(I18n.t(".issues.index.reports_count", :count => issue2.reports_count), :href => issue_path(issue2)) end end -- 2.43.2