Add webmock gem for testing get requests from BanksReader model
Require webmock in spec_helper
Add txt files with mock data for testing BankReader model
Add rpsec outline for testing the BanksReader model
stub for bank reader default
Fix stub route on bank reader spec
Write spec for file reader method on Banks Reader model
Add factory for listing hash
-hash that is created from reading the fed text file
-open to suggestions on how to better test these hash changing methods
Refactor BanksReader establish_streets! method
-indicate that the method is destructive and clean up its use in the format_banks methods
-raise a KeyError if the passed hash does not contain an address attribute
-strip leading whitespace of the street_optional value
Write spec for BanksReader establish_streets! method
-test for key error on passing of incomplete hash
-test deletion of address attribute
-test proper setting of street and street_optional attributes
Refactor BanksReader establish_record_type! method
-indicate method is destructive and clean up its use in the format_banks method
-raise a KeyError if record_type attribute doesn't exist on the passed hash
Move building off a listing up to the top of the spec so it isn't repeated
Add spec for BanksReader establish_record_type! method
-test for assertion on inputting hash with no record type attribute
-test for properly reformatting of record_type attribute
Fix raising of error on establish_record_type method
-was raising error if value was nil; not necessarily just missing
Refactor BanksReader set_updated_routing! method
-indicate it is destructive and clean up format_banks method
-raise error if updated_routing_number attribute doesn't exist on passed hash
Add spec for BanksReader set_updated_routing! method
-test for KeyError
-test for setting of nil on 000000000
-test for retaining of value otherwise
Refactor BanksReader set_phone_number! method
-indicate it is destructive and clean up its use in the format banks method
-strip a blank string of its whitespace and switch in None Listed as its value
-insert dashes only if its 10 characters long
Write spec for BanksReader set_phone_number! method
-test for KeyError
-test for blank strings
-test strings of length 10
-test for other values
Refactor BanksReader format_bank method to reflect its destructiveness
Write spec for BanksReader format_bank method
-test if a valid Bank object can be created from it