summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-21 10:35:18 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-06-23 16:41:06 -0700
commitf87886664d2c650d4dd6f656a1dd90dffb5d444d (patch)
treea804dbbea6539def302e9d052342551e7a18eea6 /spec
parent2a9f12b4503c9b8deed2b1229877b978478a0b3b (diff)
downloadchef-f87886664d2c650d4dd6f656a1dd90dffb5d444d.tar.gz
fix another Yajl reference
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/knife/bootstrap_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb
index e2c8a3da23..999a845c83 100644
--- a/spec/unit/knife/bootstrap_spec.rb
+++ b/spec/unit/knife/bootstrap_spec.rb
@@ -94,8 +94,8 @@ describe Chef::Knife::Bootstrap do
@knife.instance_variable_set("@template_file", @knife.config[:template_file])
template_string = @knife.read_template
@knife.parse_options(["-j", '{"foo":{"bar":"baz"}}'])
- expected_hash = Yajl::Parser.new.parse('{"foo":{"bar":"baz"},"run_list":[]}')
- actual_hash = Yajl::Parser.new.parse(@knife.render_template(template_string))
+ expected_hash = FFI_Yajl::Parser.new.parse('{"foo":{"bar":"baz"},"run_list":[]}')
+ actual_hash = FFI_Yajl::Parser.new.parse(@knife.render_template(template_string))
actual_hash.should == expected_hash
end