Merge branch 'rails5-fix-revert-modal-spec' into 'master'

Rails5 fix user sees revert modal spec

See merge request gitlab-org/gitlab-ce!20706
This commit is contained in:
Rémy Coutable 2018-07-19 10:50:50 +00:00
commit ae3cdf93a1
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
title: Rails5 fix user sees revert modal spec
merge_request: 20706
author: Jasper Maes
type: fixed

View file

@ -9,6 +9,9 @@ describe 'Merge request > User sees revert modal', :js do
sign_in(user)
visit(project_merge_request_path(project, merge_request))
click_button('Merge')
wait_for_requests
visit(merge_request_path(merge_request))
click_link('Revert')
end