diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 22:31:09 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 22:31:09 +0300 |
commit | 9304d049de0493de457fdec02114d5a23d116f9b (patch) | |
tree | 673933810f30af8931f9ff7beb20cc61d9978b7b /spec/support | |
parent | 470aa7675e07724ff48f159ee12da40409949222 (diff) | |
download | gitlab-ce-9304d049de0493de457fdec02114d5a23d116f9b.tar.gz |
Fixed some tests and snippet colorize
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/stubbed_repository.rb | 6 |
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) |