Sha256: 62759a4f86eca2c56965bcee217538d5b17e840ae803abe03383daac4191e4e0
Contents?: true
Size: 351 Bytes
Versions: 4
Compression:
Stored size: 351 Bytes
Contents
require 'test_helper' class CassandraObject::PersistenceTest < CassandraObject::TestCase test 'persisted' do issue = Issue.new assert issue.new_record? assert !issue.persisted? issue.save assert issue.persisted? assert !issue.new_record? issue.destroy assert issue.destroyed? assert !issue.persisted? end end
Version data entries
4 entries across 4 versions & 1 rubygems