Sha256: 1108f23771ebc10ada09bca9b122671bf353a6f78eac1978aa7a541b0c2f1b02
Contents?: true
Size: 352 Bytes
Versions: 4
Compression:
Stored size: 352 Bytes
Contents
require 'test_helper' class CassandraObject::DirtyTest < CassandraObject::TestCase class TestRecord < CassandraObject::Base key :uuid self.column_family = 'Issues' string :name end test 'save clears dirty' do record = TestRecord.new(name: 'foo') assert record.changed? record.save assert !record.changed? end end
Version data entries
4 entries across 4 versions & 1 rubygems