diff options
| author | Randy Morgan <[email protected]> | 2011-12-01 14:38:13 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2011-12-01 14:38:13 +0900 |
| commit | 6439ce4d2ec5c97ad82a8dc10d974ca9754f2113 (patch) | |
| tree | 87b3958c6cff8b7c2aed2804702a8ff8089d841f /test/stylesheet | |
| parent | 8cf0296bbc16e8eb535e9af932eed2557d5e66d2 (diff) | |
| download | caxlsx-6439ce4d2ec5c97ad82a8dc10d974ca9754f2113.tar.gz caxlsx-6439ce4d2ec5c97ad82a8dc10d974ca9754f2113.zip | |
added default formatting for date types when the cell style is 0 and the data type is :time
Diffstat (limited to 'test/stylesheet')
| -rw-r--r-- | test/stylesheet/tc_styles.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/stylesheet/tc_styles.rb b/test/stylesheet/tc_styles.rb index 0c9b3fba..15020608 100644 --- a/test/stylesheet/tc_styles.rb +++ b/test/stylesheet/tc_styles.rb @@ -49,16 +49,4 @@ class TestStyles < Test::Unit::TestCase end - - #:numFmts, :fonts, :fills, :borders, :cellStyleXfs, :cellXfs, :dxfs, :tableStyles - def test_ensure_locking - assert_equal(@styles.numFmts.locked_at, 2, "numFmts should be locked at 2") - assert_equal(@styles.fonts.locked_at, 1, "fonts should be locked at 1" ) - assert_equal(@styles.fills.locked_at, 2, "fills should be locked at 2" ) - assert_equal(@styles.borders.locked_at, 2, "borders should be locked at two" ) - assert_equal(@styles.cellStyleXfs.locked_at, 1, "cellStyleXfs should be locked at two" ) - assert_equal(@styles.cellXfs.locked_at, 2, "cellXfs should be locked at 2" ) - assert_equal(@styles.dxfs.locked_at, 0, "dxfs should be locked at 0" ) - assert_equal(@styles.tableStyles.locked_at, 0, "tableStyles should be locked at 0" ) - end end |
