Skip to content

Commit

Permalink
Fix controller tests for questionnaires
Browse files Browse the repository at this point in the history
  • Loading branch information
efg committed Sep 4, 2019
1 parent 82f4c79 commit 95b80ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/questionnaires_controller_spec.rb
Expand Up @@ -292,7 +292,7 @@ def check_access username
new_questions: {total_num: 2,
type: 'Criterion'}}
post :update, params
expect(response).to redirect_to action: 'add_new_questions', id: params[:id], question: params[:new_question]
expect(response).to redirect_to action: 'add_new_questions', id: params[:id], new_questions: params[:new_questions]
end
end
end
Expand Down

0 comments on commit 95b80ce

Please sign in to comment.