diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 16:44:57 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 16:44:57 +0400 |
commit | a0bd09ab830899237ada52f02437164d7eaaf1ed (patch) | |
tree | a2e26cac10f7d989a26234c0f160474db6c14317 /features | |
parent | 8d8c161a7f1daa92a58194765816b75449769fb1 (diff) |
Fixed tests
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_milestones.rb | 8 |
1 files 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 |