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.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a88a25c..eea6bfe 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -60,6 +60,10 @@ class Node0 < Zorglub::Node
def do_render
engine! 'real'
end
+ def do_content_type
+ engine! 'real'
+ response.header['Content-Type'] = 'text/mine'
+ end
def do_partial a1, a2
engine! 'real'
end