2cfb67dfef
For reasons unknown, this spec was passing a project's repository as the first argument to `Projects::UploadService`, while it was expecting the project itself. Previously this wasn't a problem because `FileUploader` only needed the object to respond to `path_with_namespace`, which Repository and Project both did. But now because of `Upload` and its polymorphic association, it expects the object to respond to `primary_key`. |
||
---|---|---|
.. | ||
autocomplete_service_spec.rb | ||
create_service_spec.rb | ||
destroy_service_spec.rb | ||
download_service_spec.rb | ||
enable_deploy_key_service_spec.rb | ||
fork_service_spec.rb | ||
housekeeping_service_spec.rb | ||
import_service_spec.rb | ||
participants_service_spec.rb | ||
transfer_service_spec.rb | ||
unlink_fork_service_spec.rb | ||
update_pages_configuration_service_spec.rb | ||
update_pages_service_spec.rb | ||
update_service_spec.rb | ||
upload_service_spec.rb |