You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting up your parser in the banks file, now to run the tests. Navigate to the folder in your terminal and run
bundle exec rspec spec
The test do the following.
Check that the banks array exists and is valid
Checks that every bank parser is unique and has valid keys
Check that each bank has valid and invalid files
Checks that the bank responds with correct format and fails for the invalid file
Check that the returned transaction statements are correct
The test also checks the main router to be sure it routes to the correct bank and returns the correct results as when the bank method is called correctly.