Commit 348f7e66 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

fix spec/features/merge_requests/merge_with_push_rules_spec.rb

parent b034959f
......@@ -18,7 +18,7 @@ feature 'Merge With Push Rules Validation', feature: true, js: true do
end
it 'displays error message after merge request is clicked' do
click_button 'Accept Merge Request'
click_button 'Accept merge request'
expect(page).to have_content('Merge in progress')
expect(page).to have_content('This merge request failed to be merged automatically')
......@@ -35,7 +35,7 @@ feature 'Merge With Push Rules Validation', feature: true, js: true do
end
it 'displays error message after merge request is clicked' do
click_button 'Accept Merge Request'
click_button 'Accept merge request'
expect(page).to have_content('Merge in progress')
expect(page).to have_content('This merge request failed to be merged automatically')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment