spec/mustache_handler_spec.rb in awestruct-0.5.3 vs spec/mustache_handler_spec.rb in awestruct-0.5.4.beta1

- old
+ new

@@ -5,25 +5,29 @@ } theories = [ { - :page => "mustache-page.html.mustache", - :simple_name => "mustache-page", + :page => 'mustache-page.html.mustache', + :simple_name => 'mustache-page', :syntax => :mustache, :extension => '.html', :matcher => verify }, { - :page => "mustache-page.xml.mustache", - :simple_name => "mustache-page", + :page => 'mustache-page.xml.mustache', + :simple_name => 'mustache-page', :syntax => :mustache, :extension => '.xml', :matcher => verify } ] -describe Awestruct::Handlers::TiltHandler.to_s + "-Mustache" do - let(:additional_config) { {:markup_type => 'Mustache'} } - it_should_behave_like "a handler", theories + +describe Awestruct::Handlers::TiltHandler.to_s + '-Mustache' do + def additional_config + {:markup_type => 'Mustache'} + end + + it_should_behave_like 'a handler', theories end \ No newline at end of file