test(nonprofit): change expectation to bad request, from malformed token
This commit is contained in:
parent
ffe98d1d6a
commit
6ab13ce5bf
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ describe Houdini::V1::Nonprofit, type: :request do
|
|||
|
||||
it 'rejects csrf' do
|
||||
post '/api/v1/nonprofit', params: {}, xhr: true
|
||||
expect(response.code).to eq '401'
|
||||
expect(response.code).to eq '400'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue