spec/render/preserve_spec.rb in faml-0.6.0 vs spec/render/preserve_spec.rb in faml-0.6.1
- old
+ new
@@ -1,4 +1,5 @@
+# frozen-string-literal: true
require 'spec_helper'
RSpec.describe 'Preserve rendering', type: :render do
it 'parses preserved script' do
expect(render_string('~ "<p>hello\nworld</p>"')).to eq("<p>hello\nworld</p>\n")