diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-25 02:42:12 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-25 20:25:42 +0300 |
commit | 80a6d2fda2483bf81c4cf9cdac9aa3c9e42b7982 (patch) | |
tree | 32d074259ee566098454cce7e44e69c8abca7fa8 /spec/lib/gitlab/graphs | |
parent | 5f410001eb718e23835d933e66f4973bfd2b0a10 (diff) |
Use `:empty_project` where possible throughout spec/lib
Diffstat (limited to 'spec/lib/gitlab/graphs')
-rw-r--r-- | spec/lib/gitlab/graphs/commits_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/graphs/commits_spec.rb b/spec/lib/gitlab/graphs/commits_spec.rb index f5c064303ad..abb5a26060f 100644 --- a/spec/lib/gitlab/graphs/commits_spec.rb +++ b/spec/lib/gitlab/graphs/commits_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe Gitlab::Graphs::Commits, lib: true do - let!(:project) { create(:project, :public, :empty_repo) } + let!(:project) { create(:empty_project, :public) } let!(:commit1) { create(:commit, git_commit: RepoHelpers.sample_commit, project: project, committed_date: Time.now) } let!(:commit1_yesterday) { create(:commit, git_commit: RepoHelpers.sample_commit, project: project, committed_date: 1.day.ago)} |