2011-10-08 23:36:38 +02:00
|
|
|
# Stubbing Project <-> gitosis path
|
|
|
|
# create project using Factory only
|
2011-10-26 15:46:25 +02:00
|
|
|
class Project
|
2011-10-08 23:36:38 +02:00
|
|
|
def update_gitosis_project
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def update_gitosis
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2011-10-26 15:46:25 +02:00
|
|
|
def path_to_repo
|
2011-10-09 21:55:06 +02:00
|
|
|
File.join(Rails.root, "tmp", "tests", path)
|
2011-10-08 23:36:38 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2011-10-26 15:46:25 +02:00
|
|
|
class Key
|
2011-10-08 23:36:38 +02:00
|
|
|
def update_gitosis
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def gitosis_delete_key
|
|
|
|
true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UsersProject
|
|
|
|
def update_gitosis_project
|
|
|
|
true
|
|
|
|
end
|
|
|
|
end
|