require 'test_helper' class CompilerTest < Test::Unit::TestCase def setup @compiler = Golf::Compiler.new(File.expand_path("../data/components", __FILE__)) end def test_componentsjs_generation componentjs = @compiler.generate_componentsjs known_good = 'jQuery.golf.components={"HelloWorld":{"name":"HelloWorld","html":"