From 9e062519bae4fa85ef10c942be5e0e07b23aba50 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Thu, 22 Nov 2012 07:32:17 +0100 Subject: first commit for the new renderer This part handles the building of the template tree, which then gets used later by the containers. --- spec/unit/renderer/template_path.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 spec/unit/renderer/template_path.rb (limited to 'spec/unit/renderer/template_path.rb') diff --git a/spec/unit/renderer/template_path.rb b/spec/unit/renderer/template_path.rb new file mode 100644 index 0000000..261faa8 --- /dev/null +++ b/spec/unit/renderer/template_path.rb @@ -0,0 +1,8 @@ +require 'spec_helper' + +describe Zero::Renderer, '#template_path' do + subject { Zero::Renderer.new(template_path) } + let(:template_path) { 'foo' } + + its(:type_map) { should be(template_path) } +end -- cgit v1.2.3-70-g09d2