spec/kontena/cli/app/scale_spec.rb in kontena-cli-0.15.5 vs spec/kontena/cli/app/scale_spec.rb in kontena-cli-0.16.0.pre1
- old
+ new
@@ -40,10 +40,10 @@
end
end
it 'scales given service' do
allow(File).to receive(:read).with("#{Dir.getwd}/kontena.yml").and_return(kontena_yml_no_instances)
- expect(subject).to receive(:scale_service).with('1234567','kontena-test-wordpress',3)
+ expect(subject).to receive(:scale_service).with(duck_type(:access_token),'kontena-test-wordpress',3)
subject.run(['wordpress', 3])
end
end
end