Sha256: b99908bdfe342ee6c3167f845c984bc75c5172037cb313d9fa8ffc8802fb87fa
Contents?: true
Size: 351 Bytes
Versions: 3
Compression:
Stored size: 351 Bytes
Contents
require 'spec_helper' describe PoolFamily do describe "Dummy Model relationships" do it 'should have many base images' do pool_family = PoolFamily.new 2.times do pool_family.base_images << Tim::BaseImage.new end pool_family.save! PoolFamily.find(pool_family).base_images.size.should == 2 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tim-0.1.2 | spec/models/dummy/pool_family_spec.rb |
tim-0.1.1 | spec/models/dummy/pool_family_spec.rb |
tim-0.0.1 | spec/models/dummy/pool_family_spec.rb |