mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Less strict exception matching
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user