diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-09-04 16:55:43 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-09-04 16:55:43 +0200 |
commit | 9904ef63e083bfe3c1df3e59b60aa6960eede2ea (patch) | |
tree | c0c85afee215453eda2f065d7cdf77b7c88341eb /spec/spec_helper.rb | |
parent | f187d29f4089160d161ec2cb67fcbb0af8d4acc0 (diff) | |
download | zorglub-9904ef63e083bfe3c1df3e59b60aa6960eede2ea.zip zorglub-9904ef63e083bfe3c1df3e59b60aa6960eede2ea.tar.gz |
add mime! to specs, should override whatever is set by engine
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3347cf6..5ff5dfb 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -68,11 +68,13 @@ class Node0 < Zorglub::Node no_layout! engine! :file ext! 'xml' + mime! 'application/xml' end def plain_file no_layout! engine! :file ext! 'txt' + mime! 'text/plain' end def engines name no_layout! |