1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Make each template rendering a separate test.

This commit is contained in:
Nathan Weizenbaum 2009-07-19 14:56:11 -07:00
parent 350d42be41
commit d5dfaf6e56

View file

@ -22,8 +22,10 @@ class SassPluginTest < Test::Unit::TestCase
FileUtils.rm_r tempfile_loc(nil,"more_")
end
def test_templates_should_render_correctly
@@templates.each { |name| assert_renders_correctly(name) }
@@templates.each do |name|
define_method("test_template_renders_correctly (#{name})") do
assert_renders_correctly(name)
end
end
def test_no_update