fix bug in spec_helper (it wasn't actually mocking current_rate)