2011-12-05 02:43:53 -05:00
|
|
|
# Stubbing Project <-> git host path
|
2011-10-08 17:36:38 -04:00
|
|
|
# create project using Factory only
|
2011-10-26 09:46:25 -04:00
|
|
|
class Project
|
2011-12-05 02:43:53 -05:00
|
|
|
def update_repository
|
2011-10-08 17:36:38 -04:00
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2011-12-05 02:43:53 -05:00
|
|
|
def update_repository
|
2011-10-08 17:36:38 -04:00
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2011-10-26 09:46:25 -04:00
|
|
|
def path_to_repo
|
2011-10-09 15:55:06 -04:00
|
|
|
File.join(Rails.root, "tmp", "tests", path)
|
2011-10-08 17:36:38 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2011-10-26 09:46:25 -04:00
|
|
|
class Key
|
2011-12-05 02:43:53 -05:00
|
|
|
def update_repository
|
2011-10-08 17:36:38 -04:00
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2011-12-05 02:43:53 -05:00
|
|
|
def repository_delete_key
|
2011-10-08 17:36:38 -04:00
|
|
|
true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UsersProject
|
2011-12-05 02:43:53 -05:00
|
|
|
def update_repository
|
2011-10-08 17:36:38 -04:00
|
|
|
true
|
|
|
|
end
|
|
|
|
end
|