spec/mt940_triodos_spec.rb in zilverline-mt940-1.0 vs spec/mt940_triodos_spec.rb in zilverline-mt940-2.0

- old
+ new

@@ -2,10 +2,10 @@ describe "Triodos" do before :each do @file_name = File.dirname(__FILE__) + '/fixtures/triodos.txt' - @bank_statements = MT940::Base.parse_mt940(@file_name)["390123456"] + @bank_statements = MT940Structured::Parser.parse_mt940(@file_name)["390123456"] @transactions = @bank_statements.flat_map(&:transactions) @transaction = @transactions.first end it 'have the correct number of transactions' do