test/format_test.rb in fast_excel-0.2.5 vs test/format_test.rb in fast_excel-0.2.6

- old
+ new

@@ -166,6 +166,14 @@ it "should get value with long name" do @format.bottom = "thin" assert_equal(:border_thin, @format.border_bottom) end + it "should define aliases" do + @format.font_size = 20 + assert_equal(@format.font_size, 20) + + @format.font_name = "XXX" + assert_equal(@format.font_name, "XXX") + end + end