Sha256: a386d6dd7b6540e7e608e6a23c8f27ee20b7f36f0d2fabd6551d9fcac5dcd36e

Contents?: true

Size: 185 Bytes

Versions: 117

Compression:

Stored size: 185 Bytes

Contents

FactoryGirl.define do
  factory :item_has_use_restriction do |f|
    f.item_id{FactoryGirl.create(:item).id}
    f.use_restriction_id{FactoryGirl.create(:use_restriction).id}
  end
end

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre40 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre39 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre38 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre37 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre36 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre35 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre34 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre33 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre32 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre31 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre30 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre29 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre28 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre27 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre26 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre25 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre24 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre23 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre22 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre21 spec/factories/item_has_use_restriction.rb