spec/factory.rb in payment_dta-0.0.1 vs spec/factory.rb in payment_dta-1.0.0
- old
+ new
@@ -1,5 +1,6 @@
+# coding: utf-8
require 'payment_dta/payments/esr_payment'
require 'payment_dta/payments/total_record'
class Factory
def self.create_payment(type, attributes = {})
send("create_#{type.to_s}_payment",attributes)
@@ -73,10 +74,10 @@
{
:data_file_sender_identification => 'ÄÜ2',
:payment_amount_currency => 'CHF',
:issuer_identification => 'ABC01',
:transaction_number => rand(100000000000).to_s,
- :output_sequence_number => 1,
+ :output_sequence_number => 0,
:payment_amount_value_date => Date.today.strftime('%y%m%d')
}.merge(attributes)
end
-end
\ No newline at end of file
+end