From 31c6704a67038fd85b1e70e5f72f1b82626f9f2a Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Sat, 14 Jun 2014 13:29:05 -0700 Subject: implementing allow_comments in ffi --- spec/ffi_yajl/parser_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'spec') diff --git a/spec/ffi_yajl/parser_spec.rb b/spec/ffi_yajl/parser_spec.rb index 7172160..0ce848f 100644 --- a/spec/ffi_yajl/parser_spec.rb +++ b/spec/ffi_yajl/parser_spec.rb @@ -22,7 +22,6 @@ describe "FFI_Yajl::Parser" do let(:options) { { :allow_comments => false } } it "should not parse" do - skip "implement :allow_comments" expect{parser}.to raise_error(FFI_Yajl::ParseError) end end @@ -31,8 +30,7 @@ describe "FFI_Yajl::Parser" do let(:options) { { :allow_comments => true } } it "should parse" do - skip "implement :allow_comments" - expect(parser).to eq({}) # FIXME + expect(parser).to eq({"key"=>"value"}) end end end -- cgit v1.2.1