Created
April 21, 2009 20:10
-
-
Save chriseppstein/99356 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.dirname(__FILE__) + '/../test_helper' | |
require 'compass/test_case' | |
class StylesheetsTest < Compass::TestCase | |
def test_sass_compilation | |
sass_files.each do |sass_file| | |
assert_compiles(sass_file) do |result| | |
assert_not_blank result | |
end | |
end | |
end | |
protected | |
def sass_files | |
Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "../..", "app/stylesheets/**/[^_]*.sass"))) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment