Skip to content

Commit

Permalink
Ajustando os arquivos de testes
Browse files Browse the repository at this point in the history
  • Loading branch information
kivanio committed Sep 20, 2010
1 parent 64efb57 commit b93b9a5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion spec/brcobranca/banco_banespa_spec.rb
Expand Up @@ -62,7 +62,7 @@
it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::Banespa.new
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(7)
boleto_novo.errors.count.should eql(3)
end

it "Gerar boleto" do
Expand Down
2 changes: 1 addition & 1 deletion spec/brcobranca/banco_bradesco_spec.rb
Expand Up @@ -98,7 +98,7 @@
it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::Bradesco.new
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(7)
boleto_novo.errors.count.should eql(3)
end

it "Montar nosso_numero_boleto" do
Expand Down
2 changes: 1 addition & 1 deletion spec/brcobranca/banco_hsbc_spec.rb
Expand Up @@ -96,7 +96,7 @@
it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::Hsbc.new
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(7)
boleto_novo.errors.count.should eql(3)
end

it "Montar nosso número" do
Expand Down
2 changes: 1 addition & 1 deletion spec/brcobranca/banco_real_spec.rb
Expand Up @@ -111,7 +111,7 @@
it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::Real.new(:numero_documento => "18030299444444444401")
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(6)
boleto_novo.errors.count.should eql(3)
end

it "Busca logotipo do banco" do
Expand Down
2 changes: 1 addition & 1 deletion spec/brcobranca/banco_unibanco_spec.rb
Expand Up @@ -103,7 +103,7 @@
it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::Unibanco.new(:numero_documento => "18030299444444444401")
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(6)
boleto_novo.errors.count.should eql(3)
end

it "Montar nosso_numero_boleto" do
Expand Down
2 changes: 1 addition & 1 deletion spec/brcobranca/itau_spec.rb
Expand Up @@ -132,7 +132,7 @@
it "Não permitir gerar boleto com atributos inválido" do
boleto_novo = Brcobranca::Boleto::Itau.new
lambda { boleto_novo.codigo_barras }.should raise_error(Brcobranca::BoletoInvalido)
boleto_novo.errors.count.should eql(7)
boleto_novo.errors.count.should eql(3)
end

it "Montar agencia_conta_corrente_dv" do
Expand Down

0 comments on commit b93b9a5

Please sign in to comment.