spec/rails/spec/requests/faml_spec.rb in faml-0.2.16 vs spec/rails/spec/requests/faml_spec.rb in faml-0.3.0

- old
+ new

@@ -52,18 +52,18 @@ expect(response.body).to include('<b>preserve&#x000A;me</b>') end end describe 'compile time errors' do - describe Faml::SyntaxError do + describe HamlParser::Error do it 'has proper backtrace' do expect { get '/books/syntax_error' }.to raise_error { |e| expect(e.backtrace[0]).to end_with('app/views/books/syntax_error.html.haml:2') } end end - describe Faml::IndentTracker::IndentMismatch do + describe HamlParser::IndentTracker::IndentMismatch do it 'has proper backtrace' do expect { get '/books/indent_error' }.to raise_error { |e| expect(e.backtrace[0]).to end_with('app/views/books/indent_error.html.haml:3') } end