test/test_compiler.rb in golf-0.4.12 vs test/test_compiler.rb in golf-0.4.13
- old
+ new
@@ -2,9 +2,10 @@
class CompilerTest < Test::Unit::TestCase
def setup
@compiler = Golf::Compiler.new(File.expand_path("../twitter_compiled", __FILE__))
+ @reference_file = File.read(File.expand_path("../twitter_compiled/golfapp/components.js", __FILE__))
end
def test_componentsjs_generation
componentjs = @compiler.generate_componentsjs