Sha256: 3e31861a5bc8299ffda54963a586fbc8b342b5e32878c7d7dd5f5652cf5de01a

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

require "spec_helper"


describe Stormy::Engines::Sass do

  let(:app) { StormyApp.new({ root: FIXTURE_ROOT + "/dummy_site/" }) }
  let(:engine) { Stormy::Engines::Sass.new(app) }

  let(:body) do
    <<-DOC
.stuff {
  .interior { color:red; }
}
    DOC
  end

  context "#render" do
    it "renders sass" do
      result = engine.render(body,{})
      expect(result).to include(".stuff .interior")
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stormy-0.0.1 spec/stormy/engines/sass_spec.rb