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.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f3e4941..7cd6428 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -32,6 +32,12 @@ Zorglub::Config.register_engine 'real', nil, RENDER_PROC
Zorglub::Config[:engine] = 'default'
Zorglub::Config.root = File.join Dir.pwd, 'spec', 'data'
#
+class Zorglub::Node
+ def self.my_call uri
+ call( {'PATH_INFO'=>uri} )
+ end
+end
+#
class Temp < Zorglub::Node
end
#