From 3e9026bae0dde81eeeb86ee76ee680b4b8878b86 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 30 May 2012 20:22:41 +0900 Subject: release prep for 1.1.6 --- test/workbook/worksheet/tc_data_validation.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3