diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-27 23:42:08 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-03-28 01:45:37 +0300 |
commit | 68e671893247326a28fc3e5d139ae2c3060e628c (patch) | |
tree | a005e651f8109ca6d653a624dbdf3a2a05e9a438 /spec/workers/process_commit_worker_spec.rb | |
parent | 985a0c39ef29db3c3c2c3aa386b2d332d9e98018 (diff) |
Use `:empty_project` where possible in worker specs
Diffstat (limited to 'spec/workers/process_commit_worker_spec.rb')
-rw-r--r-- | spec/workers/process_commit_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/process_commit_worker_spec.rb b/spec/workers/process_commit_worker_spec.rb index 75c7fc1efd2..1c383d0514d 100644 --- a/spec/workers/process_commit_worker_spec.rb +++ b/spec/workers/process_commit_worker_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe ProcessCommitWorker do let(:worker) { described_class.new } let(:user) { create(:user) } - let(:project) { create(:project, :public) } + let(:project) { create(:project, :public, :repository) } let(:issue) { create(:issue, project: project, author: user) } let(:commit) { project.commit } |