test/controllers/api/outputs_controller_test.rb in shipit-engine-0.11.0 vs test/controllers/api/outputs_controller_test.rb in shipit-engine-0.12.0
- old
+ new
@@ -9,10 +9,10 @@
end
test "#show returns the task output as plain text" do
task = @stack.tasks.last
- get :show, stack_id: @stack.to_param, task_id: task.id
+ get :show, params: {stack_id: @stack.to_param, task_id: task.id}
assert_response :ok
assert_equal 'text/plain', response.content_type
assert_equal task.chunk_output, response.body
end
end