Sha256: 772d62132902b9b4a610675cda1190123e4251dfbd38b6a69f02fb60fcd47b90
Contents?: true
Size: 572 Bytes
Versions: 3
Compression:
Stored size: 572 Bytes
Contents
require 'test/unit' require 'sass' require 'sass-globbing' class SassGlobbingTest < Test::Unit::TestCase def test_can_import_globbed_files css = render_file("all.sass") assert_match css, /deeply-nested/ end private def render_file(filename) full_filename = File.expand_path("fixtures/#{filename}", File.dirname(__FILE__)) syntax = File.extname(full_filename)[1..-1].to_sym Sass::Engine.new(File.read(full_filename), :syntax => syntax, :filename => full_filename, :cache => false, :read_cache => false).render end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sass-globbing-1.0.0 | test/sass_globbing_test.rb |
sass-globbing-1.0.0.rc.2 | test/sass_globbing_test.rb |
sass-globbing-1.0.0.rc.1 | test/sass_globbing_test.rb |