summaryrefslogtreecommitdiff
path: root/spec/monkeypatch.rb
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-10-26 18:46:25 +0500
committerNihad Abbasov <narkoz.2008@gmail.com>2011-10-26 18:46:25 +0500
commitd62200cad430565bd9f80befaf329297120330b5 (patch)
tree6217dd41e6f86e657513b509ed7a3f2bfdfa70ab /spec/monkeypatch.rb
parentf6a67fbad5119e3d95e33cfd4f4e4992707d5ba0 (diff)
downloadgitlab-ce-d62200cad430565bd9f80befaf329297120330b5.tar.gz
clean-up code
* Remove trailing whitespace * Converts hard-tabs into two-space soft-tabs * Remove consecutive blank lines
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