diff options
author | Rubén Dávila <Ruben@GitLab.com> | 2015-12-16 14:37:57 -0500 |
---|---|---|
committer | Rubén Dávila <Ruben@GitLab.com> | 2015-12-16 14:37:57 -0500 |
commit | 0861b67f45a261de06c4f2cf3fe2465f49d6fa59 (patch) | |
tree | e5abd8eaeaadedfe40d8bc78294e27ed3c414914 | |
parent | 3f83a1585f084ce495dcd93e4da241fee6312544 (diff) | |
download | gitlab-ce-0861b67f45a261de06c4f2cf3fe2465f49d6fa59.tar.gz |
Fix broken spec. #3452
-rw-r--r-- | spec/models/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |