From a0bd09ab830899237ada52f02437164d7eaaf1ed Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 7 Jan 2013 14:44:57 +0200 Subject: [PATCH] Fixed tests --- features/steps/project/project_milestones.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/features/steps/project/project_milestones.rb b/features/steps/project/project_milestones.rb index 1c9ad6da651..a68934dbb63 100644 --- a/features/steps/project/project_milestones.rb +++ b/features/steps/project/project_milestones.rb @@ -50,12 +50,12 @@ class ProjectMilestones < Spinach::FeatureSteps end Then "I should see 3 issues" do - page.should have_selector('.milestone-issue-filter tbody tr', count: 4) - page.should have_selector('.milestone-issue-filter tbody tr.hide', count: 1) + page.should have_selector('.milestone-issue-filter li', count: 4) + page.should have_selector('.milestone-issue-filter li.hide', count: 1) end Then "I should see 4 issues" do - page.should have_selector('.milestone-issue-filter tbody tr', count: 4) - page.should_not have_selector('.milestone-issue-filter tbody tr.hide') + page.should have_selector('.milestone-issue-filter li', count: 4) + page.should_not have_selector('.milestone-issue-filter li.hide') end end