summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2020-02-28 21:21:24 +0900
committersawanoboly <sawanoboriyu@higanworks.com>2020-02-28 21:21:24 +0900
commiteb6ac277b222954788e2e7625cbf4814c4f15499 (patch)
tree36a1917c84f386ea836a1c9084e51c6e083ab7b0
parent3225f4ea57cb87d49a51b0b0d0b8ad441e7b0b6d (diff)
downloadohai-eb6ac277b222954788e2e7625cbf4814c4f15499.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")