summaryrefslogtreecommitdiff
path: root/spec/monkeypatch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/monkeypatch.rb')
-rw-r--r--spec/monkeypatch.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/monkeypatch.rb b/spec/monkeypatch.rb
index ea42337f931..2e491496a79 100644
--- a/spec/monkeypatch.rb
+++ b/spec/monkeypatch.rb
@@ -1,6 +1,6 @@
# Stubbing Project <-> gitosis path
# create project using Factory only
-class Project
+class Project
def update_gitosis_project
true
end
@@ -9,12 +9,12 @@ class Project
true
end
- def path_to_repo
+ def path_to_repo
File.join(Rails.root, "tmp", "tests", path)
end
end
-class Key
+class Key
def update_gitosis
true
end