spec/builder_spec.rb in jsonify-0.0.8 vs spec/builder_spec.rb in jsonify-0.0.9
- old
+ new
@@ -21,10 +21,10 @@
# Hackery to come up with a failing case
class TestBuilder < Jsonify::Builder
attr_accessor :stack
end
class FooBar
- def evaluate
+ def to_json
"foobar"
end
end
json = TestBuilder.new(:verify => true)
\ No newline at end of file