Commit a0bd09ab830899237ada52f02437164d7eaaf1ed
1 parent
8d8c161a
Exists in
master
and in
4 other branches
Fixed tests
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
features/steps/project/project_milestones.rb
... | ... | @@ -50,12 +50,12 @@ class ProjectMilestones < Spinach::FeatureSteps |
50 | 50 | end |
51 | 51 | |
52 | 52 | Then "I should see 3 issues" do |
53 | - page.should have_selector('.milestone-issue-filter tbody tr', count: 4) | |
54 | - page.should have_selector('.milestone-issue-filter tbody tr.hide', count: 1) | |
53 | + page.should have_selector('.milestone-issue-filter li', count: 4) | |
54 | + page.should have_selector('.milestone-issue-filter li.hide', count: 1) | |
55 | 55 | end |
56 | 56 | |
57 | 57 | Then "I should see 4 issues" do |
58 | - page.should have_selector('.milestone-issue-filter tbody tr', count: 4) | |
59 | - page.should_not have_selector('.milestone-issue-filter tbody tr.hide') | |
58 | + page.should have_selector('.milestone-issue-filter li', count: 4) | |
59 | + page.should_not have_selector('.milestone-issue-filter li.hide') | |
60 | 60 | end |
61 | 61 | end | ... | ... |