summaryrefslogtreecommitdiff
path: root/spec/support/stubbed_repository.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/stubbed_repository.rb')
-rw-r--r--spec/support/stubbed_repository.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb
index 5bf3ea46099..871319fa1b8 100644
--- a/spec/support/stubbed_repository.rb
+++ b/spec/support/stubbed_repository.rb
@@ -28,4 +28,10 @@ module StubbedRepository
end
end
+class Namespace
+ def ensure_dir_exist
+ true
+ end
+end
+
Project.send(:include, StubbedRepository)