Sha256: 479367d2c0f391422920442350d75430b86e177bd57db9a28fee22ce7b73f8fd

Contents?: true

Size: 902 Bytes

Versions: 2

Compression:

Stored size: 902 Bytes

Contents

require "spec_helper"

describe "Compass integration" do
  context "with the default staticmatic configuration" do 
    before do
      setup_staticmatic
    end
  
    it "should configure compass" do
      pending "Compass config not quite right yet"
      Compass.configuration.project_path.should == TEST_SITE_PATH
      Compass.configuration.sass_dir.should == File.join("src", "stylesheets")
      Compass.configuration.css_dir.should == File.join("site", "stylesheets")
      Compass.configuration.images_dir.should == File.join("site", "images")
      Compass.configuration.http_images_path.should == "images"
    end
  end
  
  context "with a custom configuration" do
    before do
      setup_staticmatic
    end
    
    it "should allow site config to override defaults" do
      Compass.configuration.http_path.should == "http://a.test.host"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
staticmatic3-2.1.10 spec/compass_integration_spec.rb
staticmatic3-2.1.9 spec/compass_integration_spec.rb