diff options
author | Josh Frye <joshfng@mbp.local> | 2015-12-23 18:20:07 +0300 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-01-04 02:12:27 +0300 |
commit | 8bfc46451eae5bd92380b9fbdf91b9636d55066c (patch) | |
tree | dd3f3348c97ab4c86f0d168f788decda00316a79 /features/steps | |
parent | bfb3c8d936eaafc33b00f7a1fb7644e3330ffabf (diff) |
Show 'New Merge Request' buttons on canonical repo.
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/fork.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/features/steps/project/fork.rb b/features/steps/project/fork.rb index b0230add34f..878ddea46ff 100644 --- a/features/steps/project/fork.rb +++ b/features/steps/project/fork.rb @@ -30,4 +30,14 @@ class Spinach::Features::ProjectFork < Spinach::FeatureSteps click_link current_user.name end end + + step 'I should see "New Merge Request"' do + expect(page).to have_content "New Merge Request" + end + + step 'I goto the Merge Requests page' do + page.within '.page-sidebar-expanded' do + click_link "Merge Requests" + end + end end |