Permalink
Browse files

Run specs with new bootstrap parser.

  • Loading branch information...
1 parent 96f4568 commit 6e8471731a1bdfae4090ba15dfa55c7b3d7d1d2f @brixen committed Nov 9, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −1 spec/custom/matchers/parse_as.rb
  2. +1 −0 spec/spec_helper.rb
@@ -4,7 +4,7 @@ def initialize(expected)
end
def matches?(actual)
- @actual = Poison::Compiler.new(actual).parse.to_sexp.last
+ @actual = Poison::Parser.new.parse_string(actual).to_sexp.last
@actual == @expected
end
View
@@ -1,3 +1,4 @@
$: << File.expand_path('../../lib', __FILE__)
require 'poison'
+require 'poison/bootstrap'

0 comments on commit 6e84717

Please sign in to comment.