summaryrefslogtreecommitdiff
path: root/spec/unit/knife/client_list_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/knife/client_list_spec.rb')
-rw-r--r--spec/unit/knife/client_list_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/client_list_spec.rb b/spec/unit/knife/client_list_spec.rb
index c4834ad8d1..eff01da4e9 100644
--- a/spec/unit/knife/client_list_spec.rb
+++ b/spec/unit/knife/client_list_spec.rb
@@ -26,8 +26,8 @@ describe Chef::Knife::ClientList do
describe 'run' do
it 'should list the clients' do
- Chef::ApiClient.should_receive(:list)
- @knife.should_receive(:format_list_for_display)
+ expect(Chef::ApiClient).to receive(:list)
+ expect(@knife).to receive(:format_list_for_display)
@knife.run
end
end