spec/nifval_spec.rb in nifval-0.1.1 vs spec/nifval_spec.rb in nifval-0.1.2
- old
+ new
@@ -26,11 +26,11 @@
end
# Invalid NIFs
context "when we check invalid NIFs" do
it "should return ERROR" do
- nif_validity "A2345678C", false
+ nif_validity "12345678T", false
end
end
# Correct CIFs
context "when we check valid CIFs" do
@@ -40,10 +40,10 @@
end
# Invalid CIFs
context "when we check invalid CIFs" do
it "should return ERROR" do
- nif_validity "12345678T", false
+ nif_validity "A2345678C", false
end
end
# Correct NIEs
context "when we check valid NIEs" do