diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-01-01 09:43:15 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-01-01 09:43:15 +0100 |
commit | 920187b21e6847553aacceb8d57f7faede293804 (patch) | |
tree | 4a5533b2ae43d162ef55b6744c662fa983b19ebd /spec/spec_helper.rb | |
parent | f93da90174305489b861f631379c9c8bb97ef702 (diff) | |
download | zorglub-920187b21e6847553aacceb8d57f7faede293804.zip zorglub-920187b21e6847553aacceb8d57f7faede293804.tar.gz |
update specs
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index fd96d17..0e811f2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -40,6 +40,9 @@ class Zorglub::Node def self.my_call uri call( {'PATH_INFO'=>uri} ) end + def self.my_call_i uri + call( {'PATH_INFO'=>uri} ).body[0].to_i + end end class Temp < Zorglub::Node @@ -130,7 +133,7 @@ class Node3 < Zorglub::Node layout! 'layout-2' engine! 'engine-2' def index - (Node3.before-Node3.after).should == 1 + Node3.before-Node3.after end def do_partial a1, a2 view! Node0.r('do_partial') |