summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/todos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/fixtures/todos.rb')
-rw-r--r--spec/javascripts/fixtures/todos.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/fixtures/todos.rb b/spec/javascripts/fixtures/todos.rb
index 2c08b06ea9e..a81ef8c5492 100644
--- a/spec/javascripts/fixtures/todos.rb
+++ b/spec/javascripts/fixtures/todos.rb
@@ -39,8 +39,8 @@ describe 'Todos (JavaScript fixtures)' do
it 'todos/todos.json' do |example|
post :create,
- namespace_id: namespace.path,
- project_id: project.path,
+ namespace_id: namespace,
+ project_id: project,
issuable_type: 'issue',
issuable_id: issue_2.id,
format: 'json'