summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/evendoors_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/evendoors_spec.rb b/spec/evendoors_spec.rb
index b6b7d30..7fff64b 100644
--- a/spec/evendoors_spec.rb
+++ b/spec/evendoors_spec.rb
@@ -17,6 +17,9 @@ class Fake
def name
"myname"
end
+ def path
+ (@parent.nil? ? name : @parent.path+'/'+name )
+ end
def process_p p
@p = p
end