Sha256: 46c4328c26fa6fa60ef118d6765f882d5287e1745f616d820bb13320231f0e87

Contents?: true

Size: 290 Bytes

Versions: 98

Compression:

Stored size: 290 Bytes

Contents

require 'test_helper'

class CassandraObject::Types::DateTypeTest < CassandraObject::Types::TestCase
  test 'encode' do
    assert_equal '2004-04-25', coder.encode(Date.new(2004, 4, 25))
  end

  test 'decode' do
    assert_equal Date.new(2004, 4, 25), coder.decode('2004-04-25')
  end
end

Version data entries

98 entries across 98 versions & 2 rubygems

Version Path
gotime-cassandra_object-4.11.2 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.11.1 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.11.0 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.10.5 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.10.4 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.10.3 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.10.2 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.10.1 test/unit/types/date_type_test.rb
cassandra_object_rails-0.0.1 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.10.0 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.9.2 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.9.1 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.9.0 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.8.1 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.8.0 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.7.3 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.7.2 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.7.1 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.7.0 test/unit/types/date_type_test.rb
gotime-cassandra_object-4.6.0 test/unit/types/date_type_test.rb