diff options
Diffstat (limited to 'spec/unit/plugins/gce_spec.rb')
-rw-r--r-- | spec/unit/plugins/gce_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/gce_spec.rb b/spec/unit/plugins/gce_spec.rb index 03101852..a30b232d 100644 --- a/spec/unit/plugins/gce_spec.rb +++ b/spec/unit/plugins/gce_spec.rb @@ -54,7 +54,7 @@ describe Ohai::System, "plugin gce" do end describe "with hint file and with metadata connection" do - it_should_behave_like "gce" + it_behaves_like "gce" before(:each) do allow(plugin).to receive(:hint?).with("gce").and_return({}) @@ -62,7 +62,7 @@ describe Ohai::System, "plugin gce" do end describe "without hint file and without metadata connection" do - it_should_behave_like "!gce" + it_behaves_like "!gce" before(:each) do allow(plugin).to receive(:hint?).with("gce").and_return(false) |