Use a MR with commits.

This commit is contained in:
Rubén Dávila 2016-01-20 14:38:34 -05:00
parent 7d347ae564
commit 86b75f4713

View file

@ -6,7 +6,7 @@ describe MergeRequests::MergeWhenBuildSucceedsService do
let(:mr_merge_if_green_enabled) do
create(:merge_request, merge_when_build_succeeds: true, merge_user: user,
source_branch: "source_branch", target_branch: project.default_branch,
source_branch: "master", target_branch: 'feature',
source_project: project, target_project: project, state: "opened")
end