diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/knife/core/hashed_command_loader_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/core/hashed_command_loader_spec.rb b/spec/unit/knife/core/hashed_command_loader_spec.rb index 53bd81f4f7..e866f13a9c 100644 --- a/spec/unit/knife/core/hashed_command_loader_spec.rb +++ b/spec/unit/knife/core/hashed_command_loader_spec.rb @@ -65,7 +65,7 @@ describe Chef::Knife::SubcommandLoader::HashedCommandLoader do end it "lists all commands by category when no argument is given" do - expect(Chef::Log).to receive(:error).with(/There are files specified in the manifest that are missing/) + expect(Chef::Log).to receive(:error).with(/There are plugin files specified in the knife cache that cannot be found/) expect(Chef::Log).to receive(:error).with("Missing files:\n\t/file/for/plugin/b") expect(loader.list_commands).to eq({}) end |