diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 19:36:24 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 19:36:24 +0400 |
commit | fb470e8e2aff80a16b56f9c5422c04e74dcb213c (patch) | |
tree | 017618080e17d3f3e5da8b360c0b6c7390a252c8 /features | |
parent | a0bd09ab830899237ada52f02437164d7eaaf1ed (diff) |
Validate username uniq in scope of namespace
Diffstat (limited to 'features')
-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 a68934dbb63..1350938ee9a 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 li', count: 4) - page.should have_selector('.milestone-issue-filter li.hide', count: 1) + page.should have_selector('.milestone-issue-filter .well-list li', count: 4) + page.should have_selector('.milestone-issue-filter .well-list li.hide', count: 1) end Then "I should see 4 issues" do - page.should have_selector('.milestone-issue-filter li', count: 4) - page.should_not have_selector('.milestone-issue-filter li.hide') + page.should have_selector('.milestone-issue-filter .well-list li', count: 4) + page.should_not have_selector('.milestone-issue-filter .well-list li.hide') end end |