Sha256: 05482d0b547d58ef018a0fa2d8f819dade33b4a108e3867cb31746de261eec62
Contents?: true
Size: 596 Bytes
Versions: 10
Compression:
Stored size: 596 Bytes
Contents
require 'spec_helper' RSpec.describe 'SASS filter rendering', type: :render do it 'renders SASS filter' do html = render_string(<<'HAML') :sass nav ul margin: 0 content: "hello" HAML expect(html).to include('<style>') expect(html).to include('nav ul {') expect(html).to include('content: "hello"') end it 'parses string interpolation' do html = render_string(<<'HAML') :sass nav ul margin: #{0 + 5}px HAML expect(html).to include('<style>') expect(html).to include('nav ul {') expect(html).to include('margin: 5px') end end
Version data entries
10 entries across 10 versions & 1 rubygems