diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-02 12:26:46 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-02 12:26:46 +0300 |
commit | 31b27adeb864ae5f057061b1c208005be181dac4 (patch) | |
tree | 386d4744473cc1129ec1fab8caf7f9a6efecb1e0 /features/steps/project/project.rb | |
parent | 847940516b73977c2471d830e64a439f2d226685 (diff) |
Fix milestones tab active state and tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/project/project.rb')
-rw-r--r-- | features/steps/project/project.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb index d24f3cc3065..8f1d4a223a9 100644 --- a/features/steps/project/project.rb +++ b/features/steps/project/project.rb @@ -114,7 +114,9 @@ class Spinach::Features::Project < Spinach::FeatureSteps end step 'I should not see "Snippets" button' do - expect(page).not_to have_link 'Snippets' + page.within '.nav-secondary' do + expect(page).not_to have_link 'Snippets' + end end step 'project "Shop" belongs to group' do |