spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.3.23 vs spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.3.24

- old
+ new

@@ -224,10 +224,10 @@ it 'should complain when a section has no closing tag' do # Removing an end of section tag... text_w_open_section = sophisticated_template.sub(/<\/address>/, '') error_message = 'Unterminated section <?address>.' - ->(){ Engine.new text_w_open_section}.should raise_error( + ->(){ Engine.new text_w_open_section }.should raise_error( StandardError, error_message) end it 'should complain when a closing tag has no corresponding opening tag' do # Replacing an end of section tag by another... \ No newline at end of file