Sha256: fd80eee058d73a37f6aa8e7466848aeb1f25855124d26b57cd596192f72524b1
Contents?: true
Size: 353 Bytes
Versions: 11
Compression:
Stored size: 353 Bytes
Contents
require 'test_helper' class CassandraObject::Types::ArrayTypeTest < CassandraObject::Types::TestCase test 'encode' do assert_equal ['1', '2'].to_json, coder.encode(['1', '2']) assert_raise ArgumentError do coder.encode('wtf') end end test 'decode' do assert_equal ['1', '2'], coder.decode(['1', '2'].to_json) end end
Version data entries
11 entries across 11 versions & 1 rubygems