Upgrade to rails 4.1
This commit is contained in:
parent
6188567931
commit
6e990fed4c
23 changed files with 179 additions and 197 deletions
|
|
@ -7,7 +7,7 @@ FactoryGirl.define do
|
|||
phone { Faker::PhoneNumber.phone_number }
|
||||
address { Faker::Address.street_address }
|
||||
|
||||
ignore do
|
||||
transient do
|
||||
article_count 0
|
||||
end
|
||||
|
||||
|
|
@ -16,6 +16,8 @@ FactoryGirl.define do
|
|||
article_count = rand(1..99) if article_count == true
|
||||
create_list :article, article_count, supplier: supplier
|
||||
end
|
||||
|
||||
factory :shared_supplier, class: SharedSupplier
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue