Sha256: f41fb19d20d7c561c4ed4b641dbadb64763416ea3587d744947b6a9a703bd9cd

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

require 'test_helper'

class CassandraObject::BaseTest < CassandraObject::TestCase
  class Son < CassandraObject::Base
  end

  class Grandson < Son
  end
  
  test 'base_class' do
    assert_equal Son, Son.base_class
    assert_equal Son, Grandson.base_class
  end

  test 'column family' do
    assert_equal 'CassandraObject::BaseTest::Sons', Son.column_family
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gotime-cassandra_object-2.2.0 test/base_test.rb
gotime-cassandra_object-2.1.2 test/base_test.rb
gotime-cassandra_object-2.1.1 test/base_test.rb
gotime-cassandra_object-2.1.0 test/base_test.rb