spec/rake/funnel/support/template_engine_spec.rb in rake-funnel-0.11.0.pre vs spec/rake/funnel/support/template_engine_spec.rb in rake-funnel-0.12.0.pre
- old
+ new
@@ -39,10 +39,10 @@
context 'without binding' do
it 'should not support contextual variables' do
var = 42
template = '<%= var %>'
- expect { described_class.render(template) }.to raise_error
+ expect { described_class.render(template) }.to raise_error(NameError)
end
end
context 'with binding' do
def get_binding(value)