9e062519ba
This part handles the building of the template tree, which then gets used later by the containers.
10 lines
246 B
Ruby
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
|