gitlabhq/spec/monkeypatch.rb
Nihad Abbasov d62200cad4 clean-up code
* Remove trailing whitespace
  * Converts hard-tabs into two-space soft-tabs
  * Remove consecutive blank lines
2011-10-26 18:46:25 +05:00

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