test/test.rb in octopress-ink-1.0.0.alpha.17 vs test/test.rb in octopress-ink-1.0.0.alpha.18

- old
+ new

@@ -40,10 +40,15 @@ def test_layouts(dir) layouts = %w{local plugin_layout theme theme_override} layouts.each { |file| test("layout_tests/#{file}.html", dir) } end +def test_configs(dir) + configs = %w{plugin_config theme_config} + configs.each { |file| test("test_config/#{file}.html", dir) } +end + def test_stylesheets(dir, concat_css=true) if concat_css stylesheets = %w{all-* print-*} stylesheets.each { |file| test("stylesheets/#{file}.css", dir) } else @@ -59,9 +64,10 @@ end test_tags('expected') test_layouts('expected') test_stylesheets('concat_css') +test_configs('expected') build '_concat_css_false.yml' test_stylesheets('concat_css_false', false) build '_sass_compact.yml'