r7kamura / rspec-json_matcher

RSpec matcher for testing JSON string
MIT License
171 stars 10 forks source link

Upgrade to amazing_print gem #8

Closed soberstadt closed 2 years ago

soberstadt commented 2 years ago

The "amazing_print" gem is a great advancement to the less maintained "awesome_print".

The big reason for me is that rails's ActiveModel::Errors doesn't respond to marshal_dump, resulting in exceptions if I try to print an errors object:

[1] pry(main)> Account.first.errors
(pry) output error: #<NoMethodError: undefined method `marshal_dump' for #<ActiveModel::Errors:0x0000000112987f98>
r7kamura commented 2 years ago

Looks good, thanks! 👍

r7kamura commented 2 years ago

Released v0.2.0 🎉