summaryrefslogtreecommitdiff
path: root/spec/unit/knife/key_show_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/knife/key_show_spec.rb')
-rw-r--r--spec/unit/knife/key_show_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/key_show_spec.rb b/spec/unit/knife/key_show_spec.rb
index 0681ad8b72..c161efbe0d 100644
--- a/spec/unit/knife/key_show_spec.rb
+++ b/spec/unit/knife/key_show_spec.rb
@@ -45,8 +45,8 @@ describe "key show commands that inherit knife" do
context "when the service object is called" do
it "creates a new instance of Chef::Knife::KeyShow with the correct args" do
expect(Chef::Knife::KeyShow).to receive(:new).
- with("charmander-key", "charmander", command.load_method, command.ui).
- and_return(service_object)
+ with("charmander-key", "charmander", command.load_method, command.ui).
+ and_return(service_object)
command.service_object
end
end # when the service object is called