Fix broken spec. #3452

This commit is contained in:
Rubén Dávila
2015-12-16 14:37:57 -05:00
parent 3f83a1585f
commit 0861b67f45
+1 -1
View File
@@ -440,7 +440,7 @@ describe Ci::Build, models: true do
context 'when a Build is created after the MR' do
before do
@merge_request = create_mr(build, commit, factory: :merge_request_with_diffs)
commit2 = FactoryGirl.create :ci_commit, gl_project: gl_project
commit2 = FactoryGirl.create :ci_commit, project: project
@build2 = FactoryGirl.create :ci_build, commit: commit2
commits = [double(id: commit.sha), double(id: commit2.sha)]