[#4552] Link the issue counts to filtered Issue lists

This commit is contained in:
Eric Davis
2010-09-29 12:06:53 -07:00
parent 20f89adf39
commit 15d626b6d8
3 changed files with 39 additions and 10 deletions
+6 -6
View File
@@ -413,16 +413,16 @@ class ContractsShowTest < ActionController::IntegrationTest
visit_contract_page(@contract)
assert_select "table#deliverables" do
assert_select "tr" do
assert_select "td", :text => /#{@status1}/
assert_select "td.number", :text => /3/
assert_select "td a", :text => /#{@status1}/
assert_select "td.number a", :text => /3/
end
assert_select "tr" do
assert_select "td", :text => /#{@status2}/
assert_select "td.number", :text => /1/
assert_select "td a", :text => /#{@status2}/
assert_select "td.number a", :text => /1/
end
assert_select "tr" do
assert_select "td strong", "All"
assert_select "td.number", :text => /4/
assert_select "td strong a", "All"
assert_select "td.number a", :text => /4/
end
end
end