summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-06-14 13:29:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-06-14 13:29:05 -0700
commit31c6704a67038fd85b1e70e5f72f1b82626f9f2a (patch)
tree6c6de90489c45b1c6e9f015c387dd6c3af888681 /spec
parentc10a3f55c025e21303e642e64bc3654607554c02 (diff)
downloadffi-yajl-31c6704a67038fd85b1e70e5f72f1b82626f9f2a.tar.gz
implementing allow_comments in ffi
Diffstat (limited to 'spec')
-rw-r--r--spec/ffi_yajl/parser_spec.rb4
1 files changed, 1 insertions, 3 deletions
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