test/validator_test.rb in polish_invoicer-0.0.2 vs test/validator_test.rb in polish_invoicer-0.0.3
- old
+ new
@@ -122,10 +122,10 @@
assert_nil v.errors[:paid]
end
def test_seller_and_buyer_nip_presence
check_error(:seller_nip)
- check_error(:buyer_nip)
+ check_ok(:buyer_nip)
check_ok(:seller_nip, '123')
check_ok(:buyer_nip, '123')
end
def check_dates_ok(create_date, trade_date, msg=nil)