summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-12 11:42:20 -0800
committerTim Smith <tsmith@chef.io>2018-01-12 11:42:20 -0800
commit274670360664fee1667787601a733319ae4ef18c (patch)
tree1bb3b19c02a6aa9b4e2d0ff63258222cf37cee3b
parent4949304de73689367bfb88061262561977c521d5 (diff)
downloadchef-274670360664fee1667787601a733319ae4ef18c.tar.gz
Remove node from the specs
We're not using this here anymore Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/resource/openssl_dhparam.rb1
-rw-r--r--spec/unit/resource/openssl_rsa_private_key.rb1
-rw-r--r--spec/unit/resource/openssl_rsa_public_key.rb1
3 files changed, 0 insertions, 3 deletions
diff --git a/spec/unit/resource/openssl_dhparam.rb b/spec/unit/resource/openssl_dhparam.rb
index 0c1cf4926d..d1021d4f7e 100644
--- a/spec/unit/resource/openssl_dhparam.rb
+++ b/spec/unit/resource/openssl_dhparam.rb
@@ -20,7 +20,6 @@ require "spec_helper"
describe Chef::Resource::OpensslDhparam do
let(:resource) { Chef::Resource::OpensslDhparam.new("dhparam") }
- let(:node) { Chef::Node.new }
it "has a resource name of :openssl_dhparam" do
expect(resource.resource_name).to eql(:openssl_dhparam)
diff --git a/spec/unit/resource/openssl_rsa_private_key.rb b/spec/unit/resource/openssl_rsa_private_key.rb
index 9f33925826..b52deca6ee 100644
--- a/spec/unit/resource/openssl_rsa_private_key.rb
+++ b/spec/unit/resource/openssl_rsa_private_key.rb
@@ -20,7 +20,6 @@ require "spec_helper"
describe Chef::Resource::OpensslRsaPrivateKey do
let(:resource) { Chef::Resource::OpensslRsaPrivateKey.new("key") }
- let(:node) { Chef::Node.new }
it "has a resource name of :openssl_rsa_private_key" do
expect(resource.resource_name).to eql(:openssl_rsa_private_key)
diff --git a/spec/unit/resource/openssl_rsa_public_key.rb b/spec/unit/resource/openssl_rsa_public_key.rb
index b129d1afe1..d624e10338 100644
--- a/spec/unit/resource/openssl_rsa_public_key.rb
+++ b/spec/unit/resource/openssl_rsa_public_key.rb
@@ -20,7 +20,6 @@ require "spec_helper"
describe Chef::Resource::OpensslRsaPublicKey do
let(:resource) { Chef::Resource::OpensslRsaPublicKey.new("key") }
- let(:node) { Chef::Node.new }
it "has a resource name of :openssl_rsa_public_key" do
expect(resource.resource_name).to eql(:openssl_rsa_public_key)