spec/render/preserve_spec.rb in faml-0.7.3 vs spec/render/preserve_spec.rb in faml-0.8.0
- old
+ new
@@ -1,5 +1,5 @@
-# frozen-string-literal: true
+# 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")