Skip to content

Commit

Permalink
Run specs with new bootstrap parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Nov 9, 2010
1 parent 96f4568 commit 6e84717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec/custom/matchers/parse_as.rb
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,4 @@
$: << File.expand_path('../../lib', __FILE__)

require 'poison'
require 'poison/bootstrap'

0 comments on commit 6e84717

Please sign in to comment.