Sha256: 360fef999dc4e1b82c02d5c78828a68c97ee46312956935550fdc17845e902af
Contents?: true
Size: 857 Bytes
Versions: 79
Compression:
Stored size: 857 Bytes
Contents
require 'spec_helper' require 'dpl/provider/anynines' describe DPL::Provider::Anynines do subject :provider do described_class.new(DummyContext.new, username: 'mallomar', password: 'myreallyawesomepassword', organization: 'myorg', space: 'outer') end describe "#check_auth" do example do expect(provider.context).to receive(:shell).with('wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz') expect(provider.context).to receive(:shell).with('./cf api https://api.aws.ie.a9s.eu') expect(provider.context).to receive(:shell).with('./cf login -u mallomar -p myreallyawesomepassword -o myorg -s outer') provider.check_auth end end end
Version data entries
79 entries across 79 versions & 1 rubygems