diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-09-24 09:18:47 -0700 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-10-07 16:39:56 -0700 |
commit | 1c7b4629240c49e02c482da6de1a6a2cc574304e (patch) | |
tree | 4ac2fdc415837aca9b15e6c93debda44858cbf9b /spec/unit/node_spec.rb | |
parent | 1343bdfff0d54e20b923211f6697d42c484c1627 (diff) | |
download | chef-1c7b4629240c49e02c482da6de1a6a2cc574304e.tar.gz |
Trying to eradicate all traces of the JSON gem from Chef
Diffstat (limited to 'spec/unit/node_spec.rb')
-rw-r--r-- | spec/unit/node_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/node_spec.rb b/spec/unit/node_spec.rb index 21a978a9c9..ccecfca2f0 100644 --- a/spec/unit/node_spec.rb +++ b/spec/unit/node_spec.rb @@ -762,6 +762,10 @@ describe Chef::Node do end serialized_node.run_list.should == node.run_list end + + include_examples "to_json equalivent to Chef::JSONCompat.to_json" do + let(:subject) { node.from_file(File.expand_path("nodes/test.example.com.rb", CHEF_SPEC_DATA)) } + end end describe "to_s" do |