diff --git a/spec/controllers/projects/forks_controller_spec.rb b/spec/controllers/projects/forks_controller_spec.rb index 11ae425a76e..2bce652f4c5 100644 --- a/spec/controllers/projects/forks_controller_spec.rb +++ b/spec/controllers/projects/forks_controller_spec.rb @@ -75,7 +75,7 @@ describe Projects::ForksController do sign_out(user) get :new, - namespace_id: project.namespace.to_param, + namespace_id: project.namespace.to_param, project_id: project.to_param expect(response).to redirect_to(root_path + 'users/sign_in')