diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 14:44:57 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 14:44:57 +0200 |
commit | a0bd09ab830899237ada52f02437164d7eaaf1ed (patch) | |
tree | a2e26cac10f7d989a26234c0f160474db6c14317 | |
parent | 8d8c161a7f1daa92a58194765816b75449769fb1 (diff) | |
download | gitlab-ce-a0bd09ab830899237ada52f02437164d7eaaf1ed.tar.gz |
Fixed tests
-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 |