diff options
Diffstat (limited to 'spec/unit/run_list_spec.rb')
-rw-r--r-- | spec/unit/run_list_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/unit/run_list_spec.rb b/spec/unit/run_list_spec.rb index cc7e29af0f..220e4ea4a6 100644 --- a/spec/unit/run_list_spec.rb +++ b/spec/unit/run_list_spec.rb @@ -304,11 +304,7 @@ describe Chef::RunList do end it "converts to json by converting its array form" do - Chef::JSONCompat.to_json(@run_list).should == Chef::JSONCompat.to_json(["recipe[nagios::client]", "role[production]", "recipe[apache2]"]) - end - - include_examples "to_json equalivent to Chef::JSONCompat.to_json" do - let(:jsonable) { @run_list } + @run_list.to_json.should == ["recipe[nagios::client]", "role[production]", "recipe[apache2]"].to_json end end |