Commit 769d1ce6 authored by Douwe Maan's avatar Douwe Maan

Fix spec.

parent 0283fff5
...@@ -25,7 +25,7 @@ describe Projects::UploadsController do ...@@ -25,7 +25,7 @@ describe Projects::UploadsController do
context 'with valid image' do context 'with valid image' do
before do before do
post :create, post :create,
namespace_id: project.namespace.to_param namespace_id: project.namespace.to_param,
project_id: project.to_param, project_id: project.to_param,
file: jpg, file: jpg,
format: :json format: :json
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment