Sha256: 1908da865d35478a8415ff4eff4419bcd78c0d5097690b6c47d22a08adb96e0f
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require 'test_helper' class CassandraObject::IdentityTest < CassandraObject::TestCase test 'equality of new records' do assert_not_equal Issue.new, Issue.new end test 'equality' do first_issue = Issue.create second_issue = Issue.create assert_equal first_issue, first_issue assert_not_equal first_issue, second_issue end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gotime-cassandra_object-2.1.2 | test/identity_test.rb |
gotime-cassandra_object-2.1.1 | test/identity_test.rb |
gotime-cassandra_object-2.1.0 | test/identity_test.rb |