Skip to content

Commit

Permalink
corrigindo exception lançada
Browse files Browse the repository at this point in the history
  • Loading branch information
kivanio committed Sep 15, 2010
1 parent 9da7148 commit ecbdd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/brcobranca/banco_brasil_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@

it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::BancoBrasil.new
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(8)
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::NaoImplementado)
boleto_novo.errors.count.should eql(2)
end

it "Calcular agencia_dv" do
Expand Down

0 comments on commit ecbdd78

Please sign in to comment.