Sha256: 700ee4a06abf87203e3c5253362bc52aecd1d7ca477e3b62b962c4cdc658979d
Contents?: true
Size: 424 Bytes
Versions: 78
Compression:
Stored size: 424 Bytes
Contents
require 'test_helper' class CassandraObject::AttributesTest < CassandraObject::TestCase class A < CassandraObject::Base attribute :a, :type => :integer end class B < CassandraObject::Base attribute :b, :type => :integer end test 'model_attributes' do assert_equal %W[created_at updated_at a], A.model_attributes.keys assert_equal %W[created_at updated_at b], B.model_attributes.keys end end
Version data entries
78 entries across 78 versions & 1 rubygems