From 80a6d2fda2483bf81c4cf9cdac9aa3c9e42b7982 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Tue, 24 Jan 2017 18:42:12 -0500 Subject: Use `:empty_project` where possible throughout spec/lib --- spec/lib/gitlab/data_builder/note_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib/gitlab/data_builder/note_spec.rb') diff --git a/spec/lib/gitlab/data_builder/note_spec.rb b/spec/lib/gitlab/data_builder/note_spec.rb index 9a4dec91e56..04ec34492e1 100644 --- a/spec/lib/gitlab/data_builder/note_spec.rb +++ b/spec/lib/gitlab/data_builder/note_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe Gitlab::DataBuilder::Note, lib: true do - let(:project) { create(:project) } + let(:project) { create(:project, :repository) } let(:user) { create(:user) } let(:data) { described_class.build(note, user) } let(:fixed_time) { Time.at(1425600000) } # Avoid time precision errors -- cgit v1.2.1