aboutsummaryrefslogtreecommitdiff
path: root/spec/unit/renderer/template_path.rb
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-11-22 07:32:17 +0100
committerGibheer <gibheer@gmail.com>2012-11-26 21:41:09 +0100
commit9e062519bae4fa85ef10c942be5e0e07b23aba50 (patch)
tree3d97bf4172ca8c38aa6bbaf45504ebe519907fec /spec/unit/renderer/template_path.rb
parent37a4a28deec224f7cd9a5a124e22258e868913e4 (diff)
first commit for the new renderer
This part handles the building of the template tree, which then gets used later by the containers.
Diffstat (limited to 'spec/unit/renderer/template_path.rb')
-rw-r--r--spec/unit/renderer/template_path.rb8
1 files changed, 8 insertions, 0 deletions
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