Sha256: 7659d26c2f23d2ac604826326e4046d3282903004b942ff16361b74bb97acde8

Contents?: true

Size: 508 Bytes

Versions: 29

Compression:

Stored size: 508 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 CassandraObject::Base, CassandraObject::Base
    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
    assert_equal 'CassandraObject::BaseTest::Sons', Grandson.column_family
  end
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
extendi-cassandra_object-1.0.6 test/unit/base_test.rb
extendi-cassandra_object-1.0.5 test/unit/base_test.rb
extendi-cassandra_object-1.0.4 test/unit/base_test.rb
extendi-cassandra_object-1.0.1 test/unit/base_test.rb
extendi-cassandra_object-1.0.0 test/unit/base_test.rb
gotime-cassandra_object-4.12.2 test/unit/base_test.rb
gotime-cassandra_object-4.12.1 test/unit/base_test.rb
gotime-cassandra_object-4.12.0 test/unit/base_test.rb
gotime-cassandra_object-4.11.6 test/unit/base_test.rb
gotime-cassandra_object-4.11.5 test/unit/base_test.rb
gotime-cassandra_object-4.11.4 test/unit/base_test.rb
gotime-cassandra_object-4.11.3 test/unit/base_test.rb
gotime-cassandra_object-4.11.2 test/unit/base_test.rb
gotime-cassandra_object-4.11.1 test/unit/base_test.rb
gotime-cassandra_object-4.11.0 test/unit/base_test.rb
gotime-cassandra_object-4.10.5 test/unit/base_test.rb
gotime-cassandra_object-4.10.4 test/unit/base_test.rb
gotime-cassandra_object-4.10.3 test/unit/base_test.rb
gotime-cassandra_object-4.10.2 test/unit/base_test.rb
gotime-cassandra_object-4.10.1 test/unit/base_test.rb