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.2.3 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.2 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.1 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.0 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.0.beta.4 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.0.beta.3 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.0.beta.2 spec/factories/item_has_use_restriction.rb
enju_circulation-0.2.0.beta.1 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.2 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.1 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre49 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre48 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre47 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre46 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre45 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre44 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre43 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre42 spec/factories/item_has_use_restriction.rb
enju_circulation-0.1.0.pre41 spec/factories/item_has_use_restriction.rb