Sha256: 2155b34226e5b9e7bb08dc11456d338698a1976f0bf178cc42b837a4488f16e3

Contents?: true

Size: 454 Bytes

Versions: 36

Compression:

Stored size: 454 Bytes

Contents

describe Hamlit::Filters::Scss do
  describe '#compile' do
    it 'renders scss filter' do
      assert_render(<<-HAML, <<-HTML)
        :scss
          .users_controller {
            .show_action {
              margin: 10px;
              padding: 20px;
            }
          }
      HAML
        <style>
          .users_controller .show_action {
            margin: 10px;
            padding: 20px; }
        </style>
      HTML
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
hamlit-1.5.1 spec/hamlit/filters/scss_spec.rb
hamlit-1.5.0 spec/hamlit/filters/scss_spec.rb
hamlit-1.4.7 spec/hamlit/filters/scss_spec.rb
hamlit-1.4.6 spec/hamlit/filters/scss_spec.rb
hamlit-1.4.5 spec/hamlit/filters/scss_spec.rb
hamlit-1.4.3 spec/hamlit/filters/scss_spec.rb
hamlit-1.4.2 spec/hamlit/filters/scss_spec.rb
hamlit-1.4.1 spec/hamlit/filters/scss_spec.rb
hamlit-1.3.2 spec/hamlit/filters/scss_spec.rb
hamlit-1.3.1 spec/hamlit/filters/scss_spec.rb
hamlit-1.3.0 spec/hamlit/filters/scss_spec.rb
hamlit-1.2.1 spec/hamlit/filters/scss_spec.rb
hamlit-1.2.0 spec/hamlit/filters/scss_spec.rb
hamlit-1.1.1 spec/hamlit/filters/scss_spec.rb
hamlit-1.1.0 spec/hamlit/filters/scss_spec.rb
hamlit-1.0.0 spec/hamlit/filters/scss_spec.rb
hamlit-0.6.2 spec/hamlit/filters/scss_spec.rb
hamlit-0.6.1 spec/hamlit/filters/scss_spec.rb
hamlit-0.6.0 spec/hamlit/filters/scss_spec.rb
hamlit-0.5.3 spec/hamlit/filters/scss_spec.rb