mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
* Remove trailing whitespace * Converts hard-tabs into two-space soft-tabs * Remove consecutive blank lines
32 lines
405 B
Ruby
32 lines
405 B
Ruby
# 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
|
|
File.join(Rails.root, "tmp", "tests", 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
|