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/repository_fork_worker_spec.rb | |
parent | 985a0c39ef29db3c3c2c3aa386b2d332d9e98018 (diff) |
Use `:empty_project` where possible in worker specs
Diffstat (limited to 'spec/workers/repository_fork_worker_spec.rb')
-rw-r--r-- | spec/workers/repository_fork_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/repository_fork_worker_spec.rb b/spec/workers/repository_fork_worker_spec.rb index 87521ae408e..7d6a2db2972 100644 --- a/spec/workers/repository_fork_worker_spec.rb +++ b/spec/workers/repository_fork_worker_spec.rb @@ -1,8 +1,8 @@ require 'spec_helper' describe RepositoryForkWorker do - let(:project) { create(:project) } - let(:fork_project) { create(:project, forked_from_project: project) } + let(:project) { create(:project, :repository) } + let(:fork_project) { create(:project, :repository, forked_from_project: project) } let(:shell) { Gitlab::Shell.new } subject { RepositoryForkWorker.new } |