diff options
author | Thomas McDonald <tom@conceptcoding.co.uk> | 2012-06-04 14:45:25 +0400 |
---|---|---|
committer | Thomas McDonald <tom@conceptcoding.co.uk> | 2012-06-04 14:45:25 +0400 |
commit | 349cd8ed4e52011ecaca16ffece99eab7502e14c (patch) | |
tree | 4f460dca7d60e9557476a0c0fa349bdc42dafedd | |
parent | 0ccb7cdbfd4c54d7fe6f8577b7e8e545b83b9e1c (diff) |
update tests to compile bootstrap-responsive
-rw-r--r-- | test/compilation_test.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/compilation_test.rb b/test/compilation_test.rb index 5a712d42..5391d0bf 100644 --- a/test/compilation_test.rb +++ b/test/compilation_test.rb @@ -3,9 +3,11 @@ require 'test_helper' class CompilationTest < Test::Unit::TestCase def test_compilation path = 'vendor/assets/stylesheets' - engine = Sass::Engine.for_file("#{path}/_bootstrap.scss", syntax: :scss, load_paths: [path]) - assert_nothing_raised do - engine.render + %w(bootstrap bootstrap-responsive).each do |file| + engine = Sass::Engine.for_file("#{path}/_#{file}.scss", syntax: :scss, load_paths: [path]) + assert_nothing_raised do + engine.render + end end end end
\ No newline at end of file |