summaryrefslogtreecommitdiff
path: root/spec/services/repositories/shell_destroy_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/repositories/shell_destroy_service_spec.rb')
-rw-r--r--spec/services/repositories/shell_destroy_service_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/repositories/shell_destroy_service_spec.rb b/spec/services/repositories/shell_destroy_service_spec.rb
index 9020ef7b209..65168a1784a 100644
--- a/spec/services/repositories/shell_destroy_service_spec.rb
+++ b/spec/services/repositories/shell_destroy_service_spec.rb
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Repositories::ShellDestroyService do
let_it_be(:user) { create(:user) }
+
let!(:project) { create(:project, :repository, namespace: user.namespace) }
let(:path) { project.repository.disk_path }
let(:remove_path) { "#{path}+#{project.id}#{described_class::DELETED_FLAG}" }