summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-06 12:32:15 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-06 12:32:15 -0700
commita50f11185ecb366998ee6251a4474d29f2aca038 (patch)
treef7641a61de466a843b8d190757ebeb82f0dbad4d /spec
parent5608caf7b88cac1a8d1ee11e5283429c7ae9ec44 (diff)
downloadffi-yajl-a50f11185ecb366998ee6251a4474d29f2aca038.tar.gz
fix empty-string spec + turn green
Diffstat (limited to 'spec')
-rw-r--r--spec/ffi_yajl/parser_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ffi_yajl/parser_spec.rb b/spec/ffi_yajl/parser_spec.rb
index e8657d4..e4b1854 100644
--- a/spec/ffi_yajl/parser_spec.rb
+++ b/spec/ffi_yajl/parser_spec.rb
@@ -8,7 +8,7 @@ describe "FFI_Yajl::Parser" do
it "returns nil for an empty string (compatibility with yajl-ruby)" do
json = ''
- expect { parser.parse(json) }.to be_nil
+ expect( parser.parse(json) ).to be_nil
end
it "throws an exception when trailing braces are missing" do