1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00

update tests to compile bootstrap-responsive

This commit is contained in:
Thomas McDonald 2012-06-04 11:45:25 +01:00
parent 0ccb7cdbfd
commit 349cd8ed4e

View file

@ -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