From dbf38a06f4652c0a2fbdaecca21a18f53633bb6e Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 13 Feb 2015 15:22:58 +0800 Subject: Do not recommend `xhr` since it is going to be deprecated. --- actionpack/lib/action_dispatch/testing/integration.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'actionpack/lib/action_dispatch/testing/integration.rb') diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 590fed955a..0fca136f0a 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -314,9 +314,6 @@ module ActionDispatch params: { id: 1 }, headers: { 'X-Extra-Header' => '123' }, env: { 'action_dispatch.custom' => 'custom' } - - xhr :post, '/profile', - params: { id: 1 } MSG end -- cgit v1.2.3