1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
require 'test_helper' class TestRooExcelxCellEmpty < Minitest::Test def empty Roo::Excelx::Cell::Empty end def test_empty? cell = empty.new(nil) assert_same true, cell.empty? end def test_nil_presence cell = empty.new(nil) assert_nil cell.presence end end