Sha256: 2d418ef42e18cddcc3cf4615989b4b7af4ff9653a9dfd051695309881fa2c1da
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
require File.dirname(__FILE__) + '/../../test_helper' class HasOneAssociationTest < Test::Unit::TestCase include ActiveRecord::Associations def test_should_not_raise_exception_when_use_has_one assert_nothing_raised ArgumentError do authors(:luca).address addresses(:luca).author end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jodosha-cached-models-0.0.3 | test/active_record/associations/has_one_association_test.rb |
cached-models-0.0.3 | test/active_record/associations/has_one_association_test.rb |