From 8b3f970a40e90377df85bfca29e2df95e6543f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=A1vio=20de=20Freitas=20e=20Castro=20Sampaio?= Date: Mon, 22 Dec 2008 22:47:12 -0200 Subject: [PATCH] testes para quantidade do trailer --- spec/return/itau_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/return/itau_spec.rb b/spec/return/itau_spec.rb index ffeba13..42179ac 100644 --- a/spec/return/itau_spec.rb +++ b/spec/return/itau_spec.rb @@ -65,6 +65,9 @@ it "should be an Itau return type" do @trailer[:codigo_banco].should == "341" end + it "should returns the correct quantity of transactions" do + @trailer[:quantidade_detalhes].should == 2 + end it "should returns the correct transactions sum" do @trailer[:valor_total_informado].should == 97.36 end