diff options
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r-- | spec/node_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index e6b6543..dd47320 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -120,6 +120,12 @@ describe Zorglub do Node0.partial(:other_view).should == "view_content" end # + it "redirect should work" do + r = Node0.call( {'PATH_INFO'=>'/do_redirect'} ) + r.status.should == 302 + r.header['location'].should == Node0.r(:do_partial,1,2,3) + end + # end # end |