spec/valvat_spec.rb in valvat-0.6.10 vs spec/valvat_spec.rb in valvat-0.6.11
- old
+ new
@@ -28,11 +28,11 @@
end
end
describe "#blank?" do
-
+
it "returns true when when initialized with nil" do
expect(Valvat.new(nil)).to be_blank
end
it "returns true when when initialized with an empty string" do
@@ -171,12 +171,10 @@
expect(ch_vat).not_to be_valid
end
end
describe "#exist?" do
- without_any_web_requests!
-
it "returns false" do
expect(us_vat).not_to be_exist
expect(ch_vat).not_to be_exist
end
end
@@ -232,11 +230,9 @@
expect(nil_vat).not_to be_valid
end
end
describe "#exist?" do
- without_any_web_requests!
-
it "returns false" do
expect(only_iso_vat).not_to be_exist
expect(num_vat).not_to be_exist
expect(empty_vat).not_to be_exist
expect(nil_vat).not_to be_exist
\ No newline at end of file