Commit f19397f5 authored by Stan Hu's avatar Stan Hu

Fix failing spec: ee/spec/services/merge_requests/build_service_spec.rb

A merge request can only be created if its project and branches
are valid. `feature-branch` did not actually exist in the test repo, so
use `feature` instead.
parent 97114d13
......@@ -5,7 +5,7 @@ describe MergeRequests::BuildService do
let(:target_project) { project }
let(:user) { create(:user) }
let(:description) { nil }
let(:source_branch) { 'feature-branch' }
let(:source_branch) { 'feature' }
let(:target_branch) { 'master' }
let(:merge_request) { service.execute }
let(:compare) { double(:compare, commits: commits) }
......
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