diff options
Diffstat (limited to 'features/steps/project/commits/branches.rb')
-rw-r--r-- | features/steps/project/commits/branches.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/commits/branches.rb b/features/steps/project/commits/branches.rb index c4da380a715..ff5baf5ddae 100644 --- a/features/steps/project/commits/branches.rb +++ b/features/steps/project/commits/branches.rb @@ -17,7 +17,7 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps end step 'I should see "Shop" protected branches list' do - within ".protected-branches-list" do + page.within ".protected-branches-list" do expect(page).to have_content "stable" expect(page).not_to have_content "master" end @@ -73,7 +73,7 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps end step "I click branch 'improve/awesome' delete link" do - within '.js-branch-improve\/awesome' do + page.within '.js-branch-improve\/awesome' do find('.btn-remove').click sleep 0.05 end |