diff options
Diffstat (limited to 'features/steps/project/project_merge_requests.rb')
-rw-r--r-- | features/steps/project/project_merge_requests.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/features/steps/project/project_merge_requests.rb b/features/steps/project/project_merge_requests.rb index adf9e77e136..813e7439b2c 100644 --- a/features/steps/project/project_merge_requests.rb +++ b/features/steps/project/project_merge_requests.rb @@ -170,6 +170,18 @@ class ProjectMergeRequests < Spinach::FeatureSteps end end + step 'I click link "Reopen"' do + within '.page-title' do + click_link "Reopen" + end + end + + step 'I should see reopened merge request "Bug NS-04"' do + within '.state-label' do + page.should have_content "Open" + end + end + def project @project ||= Project.find_by!(name: "Shop") end |