JSON-spec: Easily handle JSON in RSpec and Cucu...
rubygems.org
15 Jun '12, 8am
Easily handle JSON in RSpec and Cucumber
controls the top-level behavior of as_json . If true (the default) as_json will emit a single root node named after the object’s type. For example:
Full article: http://api.rubyonrails.org/classes/ActiveModel/Serializer...
Easily handle JSON in RSpec and Cucumber