diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-05 12:04:43 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-05 12:04:43 +0100 |
commit | 0827f783531b318af55a1048ad69ee4c112e0873 (patch) | |
tree | 1f9bbb8f1e3f6ec8a8dc53466ecb8816f1ffc1ca /spec/spec_helper.rb | |
parent | 145714edebd9af891836d10ea17cab5007833e87 (diff) | |
download | zorglub-0827f783531b318af55a1048ad69ee4c112e0873.zip zorglub-0827f783531b318af55a1048ad69ee4c112e0873.tar.gz |
Node: fix mime-type override and add spec
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 35b8e2a..c379361 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -18,9 +18,9 @@ RENDER_PROC = Proc.new { |path,obj| when :layout "layout_start #{obj.content} layout_end" when :view - "view_content" + ["view_content", 'text/view'] when :partial - 'partial_content' + ['partial_content','text/partial'] else raise Exception.new end |