Began writing basic tests for select box behavior and adapted some of the jquery code from market monitor into this project. Realized factory girl is necessary for proper testing of the select functionality.
Added factory_girl to the gemfile and wrote the factories.rb file. Factories still need to be defined.
Swapped factory_girl gem for factory_girl_rails gem. Added a factory for the agent model and replaced the @agent invocation in flight_reservation_spec with the new factory.
Replaced the @agent invocation with the agent factory in the agent_spec.rb model spec file.
Replaced the @agent invocation with the agent factory in client_spec.rb.
Replaced the @agent invocation with the agent factory in the credit_card_spec file.
Replaced the @agent invocation with the agent factory in the flight_spec file.
Replaced the @agent invocation with the agent factory in the reservation_spec file.
Built a basic airline factory and swapped it out with the @airline invocation in the airline_spec file.
Replaced @airline invocations with the airline factory in airline_spec, airport_airline_spec and airport_spec files.
Replaced the @airline invocations with the airline factory in all specs.
Added an airport factory to factories.rb and updated all existing specs to use the new factory.
Built a client factory and replaced all @client invocations with the factory.