Sha256: 65d449adf045d9bd690e6cd7ad1cf96742494cf8560ff88b422489490c663b4f

Contents?: true

Size: 533 Bytes

Versions: 10

Compression:

Stored size: 533 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :accept do
    basket_id{FactoryGirl.create(:basket).id}
    item_id{FactoryGirl.create(:item).id}
    librarian_id{FactoryGirl.create(:librarian).id}
  end
end

# == Schema Information
#
# Table name: accepts
#
#  id           :integer          not null, primary key
#  basket_id    :integer
#  item_id      :integer
#  librarian_id :integer
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre43 spec/factories/accepts.rb
enju_library-0.1.0.pre42 spec/factories/accepts.rb
enju_library-0.1.0.pre41 spec/factories/accepts.rb
enju_library-0.1.0.pre40 spec/factories/accepts.rb
enju_library-0.1.0.pre39 spec/factories/accepts.rb
enju_library-0.1.0.pre38 spec/factories/accepts.rb
enju_library-0.1.0.pre37 spec/factories/accepts.rb
enju_library-0.1.0.pre36 spec/factories/accepts.rb
enju_library-0.1.0.pre35 spec/factories/accepts.rb
enju_library-0.1.0.pre34 spec/factories/accepts.rb