diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-09-01 22:50:42 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-09-05 17:12:12 +0300 |
commit | 366ebe8b13ec0b92cfef7a2317b6003577e323bf (patch) | |
tree | 6183163ac706b8bc6bbba1e1a607276f23938687 /spec/features/dashboard/projects_spec.rb | |
parent | bc9550cbba76a074b76e194cc9ab5d9065a13c14 (diff) |
Fix failures introduced by Capybara upgrade
Diffstat (limited to 'spec/features/dashboard/projects_spec.rb')
-rw-r--r-- | spec/features/dashboard/projects_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/dashboard/projects_spec.rb b/spec/features/dashboard/projects_spec.rb index 06a43909053..71de9f04653 100644 --- a/spec/features/dashboard/projects_spec.rb +++ b/spec/features/dashboard/projects_spec.rb @@ -115,9 +115,9 @@ feature 'Dashboard Projects' do expect(page).to have_selector('.merge-request-form') expect(current_path).to eq project_new_merge_request_path(project) - expect(find('#merge_request_target_project_id').value).to eq project.id.to_s - expect(find('input#merge_request_source_branch').value).to eq 'feature' - expect(find('input#merge_request_target_branch').value).to eq 'master' + expect(find('#merge_request_target_project_id', visible: false).value).to eq project.id.to_s + expect(find('input#merge_request_source_branch', visible: false).value).to eq 'feature' + expect(find('input#merge_request_target_branch', visible: false).value).to eq 'master' end end end |