public
Last active

  • Download Gist
stylesheets_test.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.