summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 22:31:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 22:31:09 +0300
commit9304d049de0493de457fdec02114d5a23d116f9b (patch)
tree673933810f30af8931f9ff7beb20cc61d9978b7b /spec/support
parent470aa7675e07724ff48f159ee12da40409949222 (diff)
downloadgitlab-ce-9304d049de0493de457fdec02114d5a23d116f9b.tar.gz
Fixed some tests and snippet colorize
Diffstat (limited to 'spec/support')
-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)