diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-16 02:29:29 +0300 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-20 08:17:21 +0300 |
commit | ed4934dbca5a12001c13d804dd25775274dec8e7 (patch) | |
tree | 1d28ad3ac8137f8d681b219efe18aeb2e8f8197d /features/steps | |
parent | 99679bc6a09f9bad529bc1e8d6ff365f8e7c0fc1 (diff) |
Fix broken spec.
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/forked_merge_requests.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/forked_merge_requests.rb b/features/steps/project/forked_merge_requests.rb index cbdce78dc0c..7e4425ff662 100644 --- a/features/steps/project/forked_merge_requests.rb +++ b/features/steps/project/forked_merge_requests.rb @@ -43,7 +43,9 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps expect(page).to have_css("h3.page-title", text: "New Merge Request") - fill_in "merge_request_title", with: "Merge Request On Forked Project" + page.within 'form#new_merge_request' do + fill_in "merge_request_title", with: "Merge Request On Forked Project" + end end step 'I submit the merge request' do |