summaryrefslogtreecommitdiff
path: root/spec/unit/resource/link_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/link_spec.rb')
-rw-r--r--spec/unit/resource/link_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/unit/resource/link_spec.rb b/spec/unit/resource/link_spec.rb
index ae32e4aa30..792305ee55 100644
--- a/spec/unit/resource/link_spec.rb
+++ b/spec/unit/resource/link_spec.rb
@@ -1,7 +1,7 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
# Author:: Tyler Cloke (<tyler@chef.io>)
-# Copyright:: Copyright 2008-2017, Chef Software Inc.
+# Copyright:: Copyright 2008-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,10 +22,6 @@ require "spec_helper"
describe Chef::Resource::Link do
let(:resource) { Chef::Resource::Link.new("fakey_fakerton") }
- before(:each) do
- expect_any_instance_of(Chef::Resource::Link).to receive(:verify_links_supported!).and_return(true)
- end
-
it "the target_file property is the name_property" do
expect(resource.target_file).to eql("fakey_fakerton")
end