Update api_controller_spec.rb