spec/render/element_spec.rb in faml-0.6.0 vs spec/render/element_spec.rb in faml-0.6.1
- old
+ new
@@ -1,4 +1,5 @@
+# frozen-string-literal: true
require 'spec_helper'
RSpec.describe 'Element rendering', type: :render do
it 'parses one-line element' do
expect(render_string('%span hello')).to eq("<span>hello</span>\n")