Sha256: 8ee52d9c606723c6f5b113ef7c09b3f2e5c93bc78a4335eb6453019ce7ec8c0c
Contents?: true
Size: 245 Bytes
Versions: 13
Compression:
Stored size: 245 Bytes
Contents
require 'abstract_unit' class TestValidations < ActiveSupport::TestCase fixtures :seats def test_uniqueness_validation_persisted seat = Seat.find([1,1]) assert(seat.valid?) seat.customer = 2 assert(!seat.valid?) end end
Version data entries
13 entries across 13 versions & 1 rubygems