Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constrain BankUS.routing_number's first two digits #545

Merged
merged 4 commits into from Sep 21, 2023

Conversation

professor
Copy link
Contributor

@professor professor commented Sep 19, 2023

Mea Culpa! I went to use BankUS.routing_number with our application and had 100s of test failures. Today, I learned that the first two numbers need to be within a certain range.

Before submitting this PR, I have tested the code in my application and can confirm that there were no errors in our gazillions of tests.


I would like feedback on the implementation, e.g. sample.

@professor professor force-pushed the ts/limit-us-bank-rounting branch 2 times, most recently from fa912d0 to fec422b Compare September 19, 2023 21:59
lib/ffaker/bank_us.rb Outdated Show resolved Hide resolved
lib/ffaker/bank_us.rb Outdated Show resolved Hide resolved
test/test_bank_us.rb Outdated Show resolved Hide resolved
professor and others added 3 commits September 19, 2023 15:35
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
lib/ffaker/bank_us.rb Outdated Show resolved Hide resolved
Copy link
Member

@marocchino marocchino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marocchino marocchino merged commit fe33804 into ffaker:main Sep 21, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants