Sha256: c66155da1b4f6213c3b5e1f3b94ec93291a37726183babcb6f49b728cd9c6e35

Contents?: true

Size: 163 Bytes

Versions: 30

Compression:

Stored size: 163 Bytes

Contents

FactoryGirl.define do
  factory :purchase_request do |f|
    f.sequence(:title){|n| "purchase_request_#{n}"}
    f.user_id{FactoryGirl.create(:user).id}
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
enju_purchase_request-0.2.0 spec/factories/purchase_request.rb
enju_purchase_request-0.2.0.beta.2 spec/factories/purchase_request.rb
enju_purchase_request-0.1.1 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre15 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre14 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre13 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre12 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre11 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre10 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre9 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre8 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre7 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre6 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre5 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre4 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre3 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre2 spec/factories/purchase_request.rb
enju_purchase_request-0.1.0.pre spec/factories/purchase_request.rb
enju_purchase_request-0.0.14 spec/factories/purchase_request.rb