Sha256: 957dd5c5dcc0b73da9a6506a6db2d3c6b4fe0091ff48527f505f020c07ed084d
Contents?: true
Size: 338 Bytes
Versions: 78
Compression:
Stored size: 338 Bytes
Contents
require 'test_helper' class CassandraObject::CallbacksTest < CassandraObject::TestCase test 'before_validation respects :on' do issue = Issue.new issue.save assert_equal 'default name', issue.name # make sure :on => :create is respected issue.name = nil issue.save assert_equal nil, issue.name end end
Version data entries
78 entries across 78 versions & 1 rubygems