init commit
This commit is contained in:
parent
93efff9452
commit
9ba1224867
307 changed files with 11053 additions and 0 deletions
31
spec/monkeypatch.rb
Normal file
31
spec/monkeypatch.rb
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue