diff options
| author | Randy Morgan <[email protected]> | 2012-05-30 20:22:41 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-05-30 20:22:41 +0900 |
| commit | 3e9026bae0dde81eeeb86ee76ee680b4b8878b86 (patch) | |
| tree | 2801d2282c6e3f663ecaa307c062b84662d8a8ce /test/workbook/worksheet/tc_data_validation.rb | |
| parent | f7287c1f421a7e71ae34658adb29b30fefb1afe3 (diff) | |
| download | caxlsx-3e9026bae0dde81eeeb86ee76ee680b4b8878b86.tar.gz caxlsx-3e9026bae0dde81eeeb86ee76ee680b4b8878b86.zip | |
release prep for 1.1.6
Diffstat (limited to 'test/workbook/worksheet/tc_data_validation.rb')
| -rw-r--r-- | test/workbook/worksheet/tc_data_validation.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/workbook/worksheet/tc_data_validation.rb b/test/workbook/worksheet/tc_data_validation.rb index c30ce251..17622d7d 100644 --- a/test/workbook/worksheet/tc_data_validation.rb +++ b/test/workbook/worksheet/tc_data_validation.rb @@ -256,4 +256,10 @@ class TestDataValidation < Test::Unit::TestCase [@promptTitle='Be carful!'][@prompt='Only values from list'][@errorTitle='Wrong input'][@error='Only values from list'] [@showErrorMessage='true'][@allowBlank='true'][@showInputMessage='true'][@showDropDown='true'][@type='list'][@errorStyle='stop']") end -end
\ No newline at end of file + + def test_empty_attributes + v = Axlsx::DataValidation.new + assert_equal(nil, v.send(:get_valid_attributes)) + + end +end |
