summaryrefslogtreecommitdiff
path: root/spec/unit/knife/core/hashed_command_loader_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/knife/core/hashed_command_loader_spec.rb')
-rw-r--r--spec/unit/knife/core/hashed_command_loader_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/core/hashed_command_loader_spec.rb b/spec/unit/knife/core/hashed_command_loader_spec.rb
index ca9aeec60c..d9f5e5761c 100644
--- a/spec/unit/knife/core/hashed_command_loader_spec.rb
+++ b/spec/unit/knife/core/hashed_command_loader_spec.rb
@@ -47,11 +47,11 @@ describe Chef::Knife::SubcommandLoader::HashedCommandLoader do
describe "#list_commands" do
it "lists all commands by category when no argument is given" do
- expect(loader.list_commands).to eq({"cool" => ["cool_a"], "cooler" => ["cooler_b"]})
+ expect(loader.list_commands).to eq({ "cool" => ["cool_a"], "cooler" => ["cooler_b"] })
end
it "lists only commands in the given category when a category is given" do
- expect(loader.list_commands("cool")).to eq({"cool" => ["cool_a"]})
+ expect(loader.list_commands("cool")).to eq({ "cool" => ["cool_a"] })
end
end