spec/kontena/cli/services/restart_command_spec.rb in kontena-cli-0.15.5 vs spec/kontena/cli/services/restart_command_spec.rb in kontena-cli-0.16.0.pre1
- old
+ new
@@ -20,10 +20,10 @@
expect(subject).to receive(:require_token).once
subject.run(['service'])
end
it 'triggers restart command' do
- expect(subject).to receive(:restart_service).with(token, 'service')
+ expect(subject).to receive(:restart_service)
subject.run(['service'])
end
end
end