Skip to content
Snippets Groups Projects
Commit a0bd09ab authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fixed tests

parent 8d8c161a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment