summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 43374f0..852e17e 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -11,15 +11,8 @@ end
#
require 'evendoors'
#
-class Fake
- attr_accessor :parent
+class Fake < EvenDoors::Spot
attr_reader :p, :sp, :start, :stop
- def name
- "myname"
- end
- def path
- (@parent.nil? ? name : @parent.path+'/'+name )
- end
def process_p p
@p = p
end