Sha256: 151e2cac87faebdc3f9a0f4873d856f8529cc1c0b027abadbbcb8498f80d64b8

Contents?: true

Size: 402 Bytes

Versions: 11

Compression:

Stored size: 402 Bytes

Contents

require 'spec_helper'

describe "Sass rendering", :feature do
  before { Almanack.reset! }

  it "can import sass" do
    allow(Almanack.config).to receive(:theme_root) { fixture_theme('sassy') }
    get "/stylesheets/imports.css"
    raise last_response.errors unless last_response.errors.empty?
  end

  def fixture_theme(name)
    Pathname(__dir__).parent.join('fixtures', 'themes', name)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
almanack-1.1.0 spec/features/sass_features_spec.rb
almanack-1.1.0.beta6 spec/features/sass_features_spec.rb
almanack-1.1.0.beta5 spec/features/sass_features_spec.rb
almanack-1.1.0.beta4 spec/features/sass_features_spec.rb
almanack-1.1.0.beta3 spec/features/sass_features_spec.rb
almanack-1.1.0.beta2 spec/features/sass_features_spec.rb
almanack-1.1.0.beta1 spec/features/sass_features_spec.rb
almanack-1.0.5 spec/features/sass_features_spec.rb
almanack-1.0.4 spec/features/sass_features_spec.rb
almanack-1.0.3 spec/features/sass_features_spec.rb
almanack-1.0.2 spec/features/sass_features_spec.rb