Skip to content
Browse files

adicionando um teste que verifica se o numero retorna nil se tiver na…

… black list
  • Loading branch information...
1 parent 74b4c81 commit 19c05d325c416e5b6f22921f034b20d2d2f24c99 @herminiotorres herminiotorres committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 spec/cpf_spec.rb
View
8 spec/cpf_spec.rb
@@ -0,0 +1,8 @@
+require "spec/../lib/cpf"
+
+describe Cpf, "CPF_BLACK_LIST" do
+ it "return nil if number in list cpf black list" do
+ cpf = Cpf.new(11111111111)
+ cpf.numero.should == nil
+ end
+end

0 comments on commit 19c05d3

Please sign in to comment.
Something went wrong with that request. Please try again.