The type doesn't need to be defined in the controller specs as it is set from the file location (config.infer_spec_type_from_file_location!) in the spec_helper.rb