spec/render/helpers_spec.rb in faml-0.7.3 vs spec/render/helpers_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 Faml::Helpers, type: :render do it 'has preserve method' do expect(render_string('%span!= preserve "hello\nworld !"', extend_helpers: true)).to eq("<span>hello&#x000A;world !</span>\n")