Commit aabeb531 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Fix Approve merge request capitalisation on tests

parent 348f7e66
......@@ -85,7 +85,7 @@ Vue.component('approvals-body', {
:disabled='approving'
@click='approveMergeRequest'
class='btn btn-primary approve-btn'>
Approve Merge Request
Approve merge request
</button>
</div>
</div>
......
......@@ -611,7 +611,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
step 'I click link "Approve"' do
page.within '.mr-state-widget' do
wait_for_ajax
click_button 'Approve Merge Request'
click_button 'Approve merge request'
end
end
......
......@@ -309,7 +309,7 @@ end
def approve_merge_request
page.within '.mr-state-widget' do
click_button 'Approve Merge Request'
click_button 'Approve merge request'
end
wait_for_ajax
end
......
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