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

Fix tests lazily

This wants taking out of the array, both here and in the Rakefile
This commit is contained in:
Thomas McDonald 2013-04-13 16:00:54 +01:00
parent 0f144a11d0
commit fdf5e92ac2

View file

@ -3,7 +3,7 @@ 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'
%w(bootstrap bootstrap-responsive).each do |file| %w(bootstrap).each do |file|
engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path]) 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