diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-12-09 08:51:59 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:52:23 -0800 |
commit | e208a23c658c323977026c9696b0582d3a0c45ad (patch) | |
tree | 31a882a360ad36a477124ad0afa5a69babbc1203 /spec/unit/audit | |
parent | 1d64d2371e1abe83c3fe726e46e95d924a44e15d (diff) | |
download | chef-e208a23c658c323977026c9696b0582d3a0c45ad.tar.gz |
Adding test for recipe DSL audit additions
Diffstat (limited to 'spec/unit/audit')
-rw-r--r-- | spec/unit/audit/audit_event_proxy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/audit/audit_event_proxy_spec.rb b/spec/unit/audit/audit_event_proxy_spec.rb index 1fddde43f1..2c4a0a1b9a 100644 --- a/spec/unit/audit/audit_event_proxy_spec.rb +++ b/spec/unit/audit/audit_event_proxy_spec.rb @@ -204,7 +204,7 @@ describe Chef::Audit::AuditEventProxy do # Metadata fields let(:described_class) { double("Serverspec::Type::Port", - :class => "Serverspec::Type::Port") } + :class => "Serverspec::Type::Port", :name => resource_name) } # Control data fields let(:resource_type) { "Port" } @@ -262,7 +262,7 @@ describe Chef::Audit::AuditEventProxy do # Metadata parts let(:described_class) { double("Serverspec::Type::File", - :class => "Serverspec::Type::File") } + :class => "Serverspec::Type::File", :name => resource_name) } # Example group parts let(:parent_group) { |