Adhere to new RSpec stubing syntax