spec/rails/spec/requests/faml_spec.rb in faml-0.5.0 vs spec/rails/spec/requests/faml_spec.rb in faml-0.5.1
- old
+ new
@@ -82,10 +82,10 @@
expect(e.backtrace[0]).to end_with('app/views/books/indent_error.html.haml:3')
}
end
end
- describe Faml::Compiler::UnparsableRubyCode do
+ describe Faml::UnparsableRubyCode do
it 'has proper backtrace' do
expect { get '/books/unparsable' }.to raise_error { |e|
expect(e.backtrace[0]).to end_with('app/views/books/unparsable.html.haml:2')
}
end