spec/slim_handler_spec.rb in awestruct-0.5.4.beta1 vs spec/slim_handler_spec.rb in awestruct-0.5.4.rc
- old
+ new
@@ -68,16 +68,13 @@
{
:page => 'slim-with-variables.html.slim',
:simple_name => 'slim-with-variables',
:syntax => :slim,
:extension => '.html',
- :matcher => verify_with_variables
+ :matcher => verify_with_variables,
+ :site_overrides => { :crunchy => 'bacon' }
}
]
describe Awestruct::Handlers::TiltHandler.to_s + '-Slim' do
- def additional_config
- { :crunchy => 'bacon' }
- end
-
it_should_behave_like 'a handler', theories
end