Skip to content

Commit a0bd09a

Browse files
committed
Fixed tests
1 parent 8d8c161 commit a0bd09a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

features/steps/project/project_milestones.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ class ProjectMilestones < Spinach::FeatureSteps
5050
end
5151

5252
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)
5555
end
5656

5757
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')
6060
end
6161
end

0 commit comments

Comments
 (0)