Skip to content

Instantly share code, notes, and snippets.

@pencilcheck
Created July 25, 2013 17:07
Show Gist options
  • Save pencilcheck/6081778 to your computer and use it in GitHub Desktop.
Save pencilcheck/6081778 to your computer and use it in GitHub Desktop.
can't get test bank account info to pass
Mongoid::Errors::Validations:
Problem:
Validation of BankAccount failed.
Summary:
The following errors were found: Invalid bank account info
Resolution:
Try persisting the document with valid data or remove the validations.
factory :bank_account do
name 'Jack Q Merchant'
account_number '9900000002'
routing_number '021000021'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment