summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/projects/uploads_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/uploads_controller_spec.rb b/spec/controllers/projects/uploads_controller_spec.rb
index 8774ee0a841..029f48b2d7a 100644
--- a/spec/controllers/projects/uploads_controller_spec.rb
+++ b/spec/controllers/projects/uploads_controller_spec.rb
@@ -25,7 +25,7 @@ describe Projects::UploadsController do
context 'with valid image' do
before do
post :create,
- namespace_id: project.namespace.to_param
+ namespace_id: project.namespace.to_param,
project_id: project.to_param,
file: jpg,
format: :json