diff options
author | Serdar Sutay <serdar@opscode.com> | 2013-07-12 03:38:03 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2013-07-12 03:38:03 -0700 |
commit | aca2fa7ba0641c1198b2ea575a6828e1b8f6020c (patch) | |
tree | 2d9510aba58510c1737287e8c5215fd028de2aa1 /spec | |
parent | 232f137a8b64863c125bf95e5d0229668e8eac86 (diff) | |
parent | 5eeefe93cb9bcf8b26a0c40bf8307251073ab860 (diff) | |
download | chef-aca2fa7ba0641c1198b2ea575a6828e1b8f6020c.tar.gz |
Merge pull request #893 from opscode/error_description_formatting
Change error description sections elements to be hashes.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource_reporter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource_reporter_spec.rb b/spec/unit/resource_reporter_spec.rb index d9f8172539..cb4f5bce94 100644 --- a/spec/unit/resource_reporter_spec.rb +++ b/spec/unit/resource_reporter_spec.rb @@ -408,7 +408,7 @@ describe Chef::ResourceReporter do it "includes the error inspector output in the event data" do @report["data"]["exception"].should have_key("description") - @report["data"]["exception"]["description"].should include({"title"=>"Error expanding the run_list:", "sections"=>[["Unexpected Error:", "RSpec::Mocks::Mock: Object not found"]]}) + @report["data"]["exception"]["description"].should include({"title"=>"Error expanding the run_list:", "sections"=>[{"Unexpected Error:" => "RSpec::Mocks::Mock: Object not found"}]}) end end |