diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-04 01:13:43 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-04 01:13:43 +0100 |
commit | 4ea25ec27d1ec21f3945d0c9f34a5628c25d2aa4 (patch) | |
tree | 6a0599398fe1898295eebd0ec67799c01efafdc1 /spec/spec_helper.rb | |
parent | d59dd4fd5d0bff373936380a11cad6072738c946 (diff) | |
download | zorglub-4ea25ec27d1ec21f3945d0c9f34a5628c25d2aa4.zip zorglub-4ea25ec27d1ec21f3945d0c9f34a5628c25d2aa4.tar.gz |
spec: add and use Node#my_call class helper
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 6 |
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 # |