diff options
author | Rémy Coutable <remy@rymai.me> | 2017-03-30 12:06:23 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-03-30 12:06:23 +0000 |
commit | 03538558d9de40beeaf5758fe2a0c6febfef6c96 (patch) | |
tree | a3ebc5fbbabeaf680ac7fd731b326990c5b69201 /spec/tasks | |
parent | 5b84708df2b363d6a39acca356ebf28e9ff35ff5 (diff) | |
parent | 68e671893247326a28fc3e5d139ae2c3060e628c (diff) | |
download | gitlab-ce-03538558d9de40beeaf5758fe2a0c6febfef6c96.tar.gz |
Merge branch 'rs-empty-project-misc' into 'master'
Use `:empty_project` in worker, view, task, serializer, policy, migration, and mailer specs
See merge request !10272
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/backup_rake_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb index 665c8fe556a..daea0c6bb37 100644 --- a/spec/tasks/gitlab/backup_rake_spec.rb +++ b/spec/tasks/gitlab/backup_rake_spec.rb @@ -116,7 +116,7 @@ describe 'gitlab:app namespace rake task' do end describe 'backup creation and deletion using custom_hooks' do - let(:project) { create(:project) } + let(:project) { create(:project, :repository) } let(:user_backup_path) { "repositories/#{project.path_with_namespace}" } before(:each) do @@ -224,8 +224,8 @@ describe 'gitlab:app namespace rake task' do end context 'multiple repository storages' do - let(:project_a) { create(:project, repository_storage: 'default') } - let(:project_b) { create(:project, repository_storage: 'custom') } + let(:project_a) { create(:project, :repository, repository_storage: 'default') } + let(:project_b) { create(:project, :repository, repository_storage: 'custom') } before do FileUtils.mkdir('tmp/tests/default_storage') |