Sha256: 7329a9004c77d39b2f24622ed70f551dbfc60492bcdc995f5217fcd776bca560
Contents?: true
Size: 331 Bytes
Versions: 88
Compression:
Stored size: 331 Bytes
Contents
require 'ifsc' describe Razorpay::IFSC::IFSC do tests = JSON.parse File.read 'tests/validator_asserts.json' tests.each do |test_name, test_cases| it "should #{test_name}" do test_cases.each do |ifsc, expected_value| expect(Razorpay::IFSC::IFSC.valid? ifsc).to eq expected_value end end end end
Version data entries
88 entries across 88 versions & 1 rubygems