0
0
zero/spec/unit/renderer/type_map_spec.rb
Gibheer 9e062519ba first commit for the new renderer
This part handles the building of the template tree, which then gets
used later by the containers.
2012-11-26 21:41:09 +01:00

10 lines
246 B
Ruby

require 'spec_helper'
describe Zero::Renderer, '#type_map' do
subject { Zero::Renderer.new(template_path, type_map) }
let(:template_path) { 'foo' }
let(:type_map) { {'html' => ['text/html']} }
its(:type_map) { should be(type_map) }
end