spec/lib/hotcell/config_spec.rb in hotcell-0.1.0 vs spec/lib/hotcell/config_spec.rb in hotcell-0.2.0

- old
+ new

@@ -14,14 +14,20 @@ specify { subject.blocks.should == {} } specify { subject.commands.should == {} } specify { subject.helpers.should == [] } specify { subject.resolver.should be_a Hotcell::Resolver } + specify { subject.escape_tags.should be_false } describe '#resolver=' do let(:resolver) { Hotcell::FileSystemResolver.new('/') } before { subject.resolver = resolver } its(:resolver) { should == resolver } + end + + describe '#escape_tags=' do + before { subject.escape_tags = true } + its(:escape_tags) { should be_true } end describe '#register_command' do context do before { subject.register_command :for, command_class }