spec/stache/config_spec.rb in stache-0.0.3 vs spec/stache/config_spec.rb in stache-0.1.0
- old
+ new
@@ -28,9 +28,12 @@
it "yields self to the block as a convienence to future refactoring" do
Stache.configure do |config|
config.template_base_path = "/dev/null"
end
Stache.template_base_path.should == Pathname.new("/dev/null")
+ Stache.configure do |config|
+ config.template_base_path = ::Rails.root.join('app', 'views')
+ end
end
end
end
\ No newline at end of file