From 81a57f75fcde3a5b1fa9a783c69e54df76928a38 Mon Sep 17 00:00:00 2001 From: James Sutton Date: Fri, 1 May 2020 12:49:22 +0100 Subject: [PATCH] Issue #1190 - modifying tests for Fix Modifying the tests to check the commands correctly. --- spec/dpl/providers/bluemixcloudfoundry_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/dpl/providers/bluemixcloudfoundry_spec.rb b/spec/dpl/providers/bluemixcloudfoundry_spec.rb index b24fc3548..c7deb7a8c 100644 --- a/spec/dpl/providers/bluemixcloudfoundry_spec.rb +++ b/spec/dpl/providers/bluemixcloudfoundry_spec.rb @@ -9,8 +9,8 @@ describe 'by default', record: true do it { should have_run %r(wget .*cli.run.pivotal.io.* -qO cf.tgz && tar -zxvf cf.tgz) } it { should have_run './cf api api.ng.bluemix.net' } - it { should have_run './cf login -u name -p pass' } - it { should have_run './cf target -o org -s space' } + it { should have_run './cf login -u name -p pass -o "org" -s "space"' } + it { should have_run './cf target -o "org" -s "space"' } it { should have_run './cf push' } it { should have_run './cf logout' } it { should have_run_in_order }