test/test_compiler.rb in golf-0.5.4 vs test/test_compiler.rb in golf-0.5.5
- old
+ new
@@ -28,25 +28,24 @@
def test_componentsjs_generation
a = @reference.components
b = JSON.parse @compiler.component_json
#assert_equal a.keys.sort,b.keys.sort
#assert_equal a,b
- #puts a["HelloWorld"]["html"
#puts '---------'
- #puts b["HelloWorld"].inspect
+ puts b["HelloWorld"].inspect
#puts '---------'
#a.keys.each do |key|
# puts "#{key} should be #{a[key].hash}, but was #{b[key].hash}"
#end
end
- def test_res_generation
+ def te2st_res_generation
a = @reference.res
b = JSON.parse @compiler.res_json
assert_equal a,b
end
- def test_res_generation_components
+ def tesst_res_generation_components
a = @reference.res
b = JSON.parse @compiler.res_json
assert_equal a["components"], b["components"]
end