summaryrefslogtreecommitdiffstats
path: root/spec/node_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r--spec/node_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 3b2ecc3..058e626 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -166,6 +166,11 @@ describe Zorglub do
r.header['Content-type'].should == 'text/view'
end
#
+ it "should be able to override through rack response mime-type" do
+ r = Node0.my_call '/do_content_type'
+ r.header['Content-type'].should == 'text/mine'
+ end
+ #
it "partial should render correctly" do
Node0.partial({},:do_partial, 1, 2).should == 'partial_content'
end