diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-10-09 01:36:38 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-10-09 01:36:38 +0400 |
commit | e98c77857f9f765d1854b92c2dc33049504a596d (patch) | |
tree | 52fbfc1cdb55df21843965479c97be0c91121a9a /spec/monkeypatch.rb | |
parent | 0f43e98ef8c2da8908b1107f75b67cda2572c2c4 (diff) |
init commitv0.9.4
Diffstat (limited to 'spec/monkeypatch.rb')
-rw-r--r-- | spec/monkeypatch.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/spec/monkeypatch.rb b/spec/monkeypatch.rb new file mode 100644 index 00000000000..e630cc10d31 --- /dev/null +++ b/spec/monkeypatch.rb @@ -0,0 +1,31 @@ +# Stubbing Project <-> gitosis path +# create project using Factory only +class Project + def update_gitosis_project + true + end + + def update_gitosis + true + end + + def path_to_repo + "/tmp/" + path + end +end + +class Key + def update_gitosis + true + end + + def gitosis_delete_key + true + end +end + +class UsersProject + def update_gitosis_project + true + end +end |