summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2020-02-28 21:21:24 +0900
committersawanoboly <sawanoboriyu@higanworks.com>2020-02-29 02:35:30 +0900
commitdf7183ae58dfba1e512f08006ef811363f6aacd5 (patch)
tree9f9e4d458969b9b44f3afda030d721e093c1278f
parent2eb3aff51e7105e2b207cbca515d57d9bf141ed0 (diff)
downloadohai-df7183ae58dfba1e512f08006ef811363f6aacd5.tar.gz
remove commented line
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
-rw-r--r--spec/unit/plugins/openstack_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/plugins/openstack_spec.rb b/spec/unit/plugins/openstack_spec.rb
index 67ae76b2..530059dd 100644
--- a/spec/unit/plugins/openstack_spec.rb
+++ b/spec/unit/plugins/openstack_spec.rb
@@ -63,7 +63,6 @@ describe Ohai::System, "plugin openstack" do
.with(Ohai::Mixin::Ec2Metadata::EC2_METADATA_ADDR, 80, default_timeout)
.and_return(false)
plugin[:virtualization] = { systems: { openstack: "guest" } }
- # expect(Etc).to receive(:getpwnam).and_return(PasswdEntry.new("dhc-user", 800, 800, "/var/www", "/bin/false", "The dreamhost user"))
expect(Etc::Passwd).to receive(:entries).and_return([PasswdEntry.new("dhc-user", 800, 800, "/var/www", "/bin/false", "The dreamhost user")])
plugin.run
expect(plugin[:openstack][:provider]).to eq("dreamhost")