use rspec mocks instead of rr