diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-08 17:08:30 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-08 17:10:41 -0700 |
commit | b004803a852485729493ac04c2cf13f59b55d7f3 (patch) | |
tree | ffb44e2d619c30c40571b4baa5eaeec0e061d28e | |
parent | b19a0b9ee8981109c34b9b0dec3433c58a3046a1 (diff) | |
download | ohai-b004803a852485729493ac04c2cf13f59b55d7f3.tar.gz |
fix kind_of->is_a spec
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/runner_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/runner_spec.rb b/spec/unit/runner_spec.rb index a2a948c1..9c37dfd2 100644 --- a/spec/unit/runner_spec.rb +++ b/spec/unit/runner_spec.rb @@ -1,6 +1,6 @@ # # Author:: Claire McQuin (<claire@chef.io>) -# Copyright:: Copyright (c) 2013-2016 Chef Software, Inc. +# Copyright:: Copyright (c) 2013-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); you @@ -34,7 +34,7 @@ describe Ohai::Runner, "run_plugin" do end describe "when running a plugin" do - let(:plugin) { double("Ohai::DSL::Plugin", kind_of?: true, version: version, name: :Test, has_run?: has_run, dependencies: [ ]) } + let(:plugin) { double("Ohai::DSL::Plugin", is_a?: true, version: version, name: :Test, has_run?: has_run, dependencies: [ ]) } let(:version) { :version7 } let(:has_run) { false } |