test/base_test.rb in gotime-cassandra_object-2.6.4 vs test/base_test.rb in gotime-cassandra_object-2.7.0

- old
+ new

@@ -4,17 +4,24 @@ 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 + + test 'initialiaze' do + issue = Issue.new + + assert issue.new_record? + assert !issue.destroyed? end test 'to_param' do issue = Issue.create assert_equal issue.id, issue.to_param \ No newline at end of file