foodsoft/spec/factories/sepa_account_holder.rb

12 lines
293 B
Ruby

require 'factory_bot'
FactoryBot.define do
factory :sepa_account_holder do
user { create :user }
group { create :ordergroup }
iban { "DE89370400440532013000" }
bic { "DEUTDEFF" }
mandate_id { "TEST-MANDATE-001" }
mandate_date_of_signature { Time.current }
end
end