Sha256: c78125a909e2791de651197854eaa282d70d796ad030a96a2380ad9d0cf58041
Contents?: true
Size: 672 Bytes
Versions: 3
Compression:
Stored size: 672 Bytes
Contents
require "test_helper" class BadPlainRubyObjectTest < ActiveSupport::TestCase def setup DatabaseCleaner.start end def test_csv assert_raise SpreadsheetArchitect::Exceptions::SpreadsheetColumnsNotDefinedError do BadPlainRubyObject.to_csv(instances: []) end end def test_ods assert_raise SpreadsheetArchitect::Exceptions::SpreadsheetColumnsNotDefinedError do BadPlainRubyObject.to_ods(instances: []) end end def test_xlsx assert_raise SpreadsheetArchitect::Exceptions::SpreadsheetColumnsNotDefinedError do BadPlainRubyObject.to_xlsx(instances: []) end end def teardown DatabaseCleaner.clean end end
Version data entries
3 entries across 3 versions & 1 rubygems