diff options
author | Tim Smith <tsmith@chef.io> | 2016-11-18 12:00:47 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2016-12-01 10:58:06 -0800 |
commit | 3b65f582afe867180573313db3eb6450abf1da9b (patch) | |
tree | 4eadf04c5959ad39cb56e150f7fa510925b32168 /spec/unit/plugins/openstack_spec.rb | |
parent | 5f43d30a38cee0a87c479988283a6bd934c07d01 (diff) | |
download | ohai-rubocop_rspec.tar.gz |
rspec-rubocop autofix the specsrubocop_rspec
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/plugins/openstack_spec.rb')
-rw-r--r-- | spec/unit/plugins/openstack_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/openstack_spec.rb b/spec/unit/plugins/openstack_spec.rb index fcca9a33..24fa6377 100644 --- a/spec/unit/plugins/openstack_spec.rb +++ b/spec/unit/plugins/openstack_spec.rb @@ -23,7 +23,7 @@ describe "OpenStack Plugin" do let(:plugin) { get_plugin("openstack") } - before(:each) do + before do allow(plugin).to receive(:hint?).with("openstack").and_return(false) plugin[:dmi] = nil end |