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:
parent
0ccb7cdbfd
commit
349cd8ed4e
1 changed files with 5 additions and 3 deletions
|
@ -3,9 +3,11 @@ require 'test_helper'
|
||||||
class CompilationTest < Test::Unit::TestCase
|
class CompilationTest < Test::Unit::TestCase
|
||||||
def test_compilation
|
def test_compilation
|
||||||
path = 'vendor/assets/stylesheets'
|
path = 'vendor/assets/stylesheets'
|
||||||
engine = Sass::Engine.for_file("#{path}/_bootstrap.scss", syntax: :scss, load_paths: [path])
|
%w(bootstrap bootstrap-responsive).each do |file|
|
||||||
|
engine = Sass::Engine.for_file("#{path}/_#{file}.scss", syntax: :scss, load_paths: [path])
|
||||||
assert_nothing_raised do
|
assert_nothing_raised do
|
||||||
engine.render
|
engine.render
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue