about summary refs log tree commit diff
path: root/spec/controllers/concerns
diff options
context:
space:
mode:
authorS.H <gamelinks007@gmail.com>2018-08-12 19:25:23 +0900
committerThibG <thib@sitedethib.com>2018-08-13 18:17:20 +0200
commit5f41bbd274bb771a712ee7d38df6d1ec47c26212 (patch)
treecbec0b83b35d359860bd13c4a4bfc5860bb6296e /spec/controllers/concerns
parent19da279703fc5a37562a207a8e4feb03b5394c57 (diff)
Update Rails (#8141)
* Update Rails

* fix Update Rails
Diffstat (limited to 'spec/controllers/concerns')
-rw-r--r--spec/controllers/concerns/signature_verification_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/concerns/signature_verification_spec.rb b/spec/controllers/concerns/signature_verification_spec.rb
index 64648621e..3daf1fc4e 100644
--- a/spec/controllers/concerns/signature_verification_spec.rb
+++ b/spec/controllers/concerns/signature_verification_spec.rb
@@ -105,7 +105,7 @@ describe ApplicationController, type: :controller do
         end
 
         it 'returns nil when body has been tampered' do
-          request.headers['RAW_POST_DATA'] = 'doo doo doo'
+          post :success, body: 'doo doo doo'
           expect(controller.signed_request_account).to be_nil
         end
       end