spec/provider/anynines_spec.rb in dpl-anynines-1.10.6.travis.3090.5 vs spec/provider/anynines_spec.rb in dpl-anynines-1.10.6.travis.3114.5

- old
+ new

@@ -9,10 +9,10 @@ space: 'outer') end describe "#check_auth" do example do - expect(provider.context).to receive(:shell).with('test x$TRAVIS_OS_NAME = "xlinux" && rel="linux64-binary" || rel="macosx64"; wget "https://cli.run.pivotal.io/stable?release=${rel}&source=github" -qO cf.tgz && tar -zxvf cf.tgz && rm cf.tgz') + expect(provider.context).to receive(:shell).with('test $(uname) = "Linux" && rel="linux64-binary" || rel="macosx64"; wget "https://cli.run.pivotal.io/stable?release=${rel}&source=github" -qO cf.tgz && tar -zxvf cf.tgz && rm cf.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