spec/support/factories.rb in catarse_pagarme-1.5.3 vs spec/support/factories.rb in catarse_pagarme-2.0.0
- old
+ new
@@ -30,22 +30,17 @@
factory :category do |f|
f.name_pt { generate(:name) }
end
- factory :bank do |f|
- f.name { generate(:uid) }
- f.code { generate(:uid) }
- end
-
factory :bank_account do |f|
- f.association :bank
+ f.name 'Foo bar'
f.account '1234'
f.account_digit '1'
f.agency '1'
f.agency_digit '2'
- f.owner_name 'fooo'
- f.owner_document '9889'
+ f.user_name 'fooo'
+ f.user_document '9889'
end
factory :project do |f|
f.name "Foo bar"
f.permalink { generate(:permalink) }