parent
110b3f6335
commit
2aeeffc3ec
5 changed files with 50 additions and 54 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue