diff options
author | Claire McQuin <claire@getchef.com> | 2014-12-11 13:45:33 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-12-11 13:45:33 -0800 |
commit | 9e59d5a89d39fa46278ee655d5d9af66fb827c1f (patch) | |
tree | e0547151474e97ee55620c68e18465fdaac68acb | |
parent | 43e7b07cf4f5f9add5616df9fe6b0d9230c8fcb6 (diff) | |
download | chef-mcquin/unit-tests.tar.gz |
Stub test doubles for new behavior.mcquin/unit-tests
-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) { |