Fixed tests
This commit is contained in:
parent
8d8c161a7f
commit
a0bd09ab83
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue