diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-26 16:01:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-26 16:01:02 +0200 |
commit | c9f21c9691033b1fb1d6ddb7dd48057ec4f25aa3 (patch) | |
tree | aa8a9edab63082997b7e89bd90aa222b11bbea1c /features | |
parent | d5947ada4493335d49368ec193f4b9b801582deb (diff) | |
download | gitlab-ce-c9f21c9691033b1fb1d6ddb7dd48057ec4f25aa3.tar.gz |
Use page.within in tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/issues/issues.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb index c3b34ab3f19..91d5c3688e2 100644 --- a/features/steps/project/issues/issues.rb +++ b/features/steps/project/issues/issues.rb @@ -263,19 +263,19 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps end step 'I should not see labels field' do - within '.issue-form' do + page.within '.issue-form' do expect(page).not_to have_content("Labels") end end step 'I should not see milestone field' do - within '.issue-form' do + page.within '.issue-form' do expect(page).not_to have_content("Milestone") end end step 'I should not see assignee field' do - within '.issue-form' do + page.within '.issue-form' do expect(page).not_to have_content("Assign to") end end |