Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyostile committed Apr 18, 2016
1 parent 751ab47 commit d547913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/camt_parser/053/statement_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
end

it "contains certain attributes" do
expect(ex_entry.amount.class).to eq(BigDecimal)
expect(ex_entry.amount.class).to eq(Float)
expect(ex_entry.amount).to eq(BigDecimal.new('2'))
expect(ex_entry.currency).to eq('EUR')
expect(ex_entry.value_date.class).to eq(Date)
Expand All @@ -61,7 +61,7 @@
expect(debitor.name).to eq("Wayne Enterprises")
expect(debitor.iban).to eq("DE24302201900609832118")
expect(debitor.bic).to eq("DAAEDEDDXXX")
expect(debitor.bank_name).to eq(nil)
expect(debitor.bank_name).to eq("")
end
end

Expand Down

0 comments on commit d547913

Please sign in to comment.