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
committerEugen Rochko <eugen@zeonfederated.com>2018-08-12 12:25:23 +0200
commit2aeeffc3ec421111f751cab61a15642cbddd9f0d (patch)
tree5ff9830f748e74495525b00f29591df19cbeadaa /spec/controllers/concerns
parent110b3f63352e85c6ac138918b285d963382ce623 (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