diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-12-20 00:44:54 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-12-20 00:45:08 +0300 |
commit | 099e274266f7c63ec43b02d79577a74265feb67c (patch) | |
tree | 2f791b8f5aff654d0419a1c5291715812bcb6308 /spec | |
parent | 3e4b45fc216875ff25647675d92448a53a740d9b (diff) |
Call the correct method in the BlocksJsonSerialization spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/concerns/blocks_json_serialization_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/concerns/blocks_json_serialization_spec.rb b/spec/models/concerns/blocks_json_serialization_spec.rb index 571ed7d5b26..5906b588d0e 100644 --- a/spec/models/concerns/blocks_json_serialization_spec.rb +++ b/spec/models/concerns/blocks_json_serialization_spec.rb @@ -6,7 +6,7 @@ describe BlocksJsonSerialization do end it 'blocks as_json' do - expect { DummyModel.new.to_json } + expect { DummyModel.new.as_json } .to raise_error(described_class::JsonSerializationError, /DummyModel/) end |