Use doubles over mocks

:information_desk_person: The API for RSpec is changing. These changes update the existing tests to fix the breaking changes.