From 0861b67f45a261de06c4f2cf3fe2465f49d6fa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D=C3=A1vila?= Date: Wed, 16 Dec 2015 14:37:57 -0500 Subject: Fix broken spec. #3452 --- spec/models/build_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/build_spec.rb b/spec/models/build_spec.rb index 1bd43dd1787..30fc15fa964 100644 --- a/spec/models/build_spec.rb +++ b/spec/models/build_spec.rb @@ -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)] -- cgit v1.2.1