Sha256: 37b3596f9ffbcd5876f29f3771eeb14229605868ad58fa1d359532aba36f75ff
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
require 'cases/helper' require 'models/artist' class HasManyUuidAssociationTest < ActiveRecord::TestCase fixtures :artists fixtures :albums def test_association_find artist = artists(:beatles) albums = artist.albums assert_equal 3, albums.size albums.each do |album| assert album.instance_of?(Album) end end end
Version data entries
4 entries across 4 versions & 1 rubygems