mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Less strict exception matching
This commit is contained in:
parent
4394f76b86
commit
6cf84c11e0
@ -116,7 +116,7 @@ module ActiveModelSerializers
|
||||
|
||||
def test_that_raises_with_a_invalid_json_body
|
||||
# message changes from JSON gem 2.0.2 to 2.2.0
|
||||
message = /A JSON text must at least contain two octets!|an unexpected token at ''/
|
||||
message = /A JSON text must at least contain two octets!|unexpected token at ''/
|
||||
|
||||
get :invalid_json_body
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user