This commit is contained in:
Thomas Reynolds 2011-07-01 10:07:50 -07:00
parent 77353b5adf
commit cbdceb26cc
3 changed files with 8 additions and 1 deletions

View file

@ -4,4 +4,9 @@ Feature: Support SCSS Syntax
Scenario: Rendering scss Scenario: Rendering scss
Given the Server is running Given the Server is running
When I go to "/stylesheets/site_scss.css" When I go to "/stylesheets/site_scss.css"
Then I should see "html"
Scenario: Rendering scss
Given the Server is running
When I go to "/stylesheets/layout.css"
Then I should see "html" Then I should see "html"

View file

@ -0,0 +1,2 @@
html
test: value

View file

@ -106,7 +106,7 @@ module Middleman
next next
end end
next if file_source.include?('layout') next if file_source.include?('layout') && !file_source.include?('.css')
# Skip partials prefixed with an underscore # Skip partials prefixed with an underscore
next unless file_source.gsub(Middleman::Server.root, '').split('/').select { |p| p[0,1] == '_' }.empty? next unless file_source.gsub(Middleman::Server.root, '').split('/').select { |p| p[0,1] == '_' }.empty?