Commit 2d3c4886 authored by Mark Lapierre's avatar Mark Lapierre

Minor refactoring from code review

parent 139ba879
......@@ -34,13 +34,9 @@ module QA
merge_request_page.mark_to_squash
merge_request_page.merge!
merge_request.project.visit!
Git::Repository.perform do |repository|
repository.uri = merge_request.project.repository_http_location.uri
repository.uri = project.repository_http_location.uri
repository.use_default_credentials
repository.clone
expect(repository.commits.size).to eq 3
......
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