spec/features/v2/push_flow_spec.rb in vmc-0.5.1.rc1 vs spec/features/v2/push_flow_spec.rb in vmc-0.5.1.rc2
- old
+ new
@@ -9,11 +9,11 @@
let(:target) { ENV['VMC_V2_TEST_TARGET'] }
let(:username) { ENV['VMC_V2_TEST_USER'] }
let(:password) { ENV['VMC_V2_TEST_PASSWORD'] }
let(:app) do
- fuzz = defined?(TRAVIS_BUILD_ID) ? TRAVIS_BUILD_ID : Time.new.to_f.to_s.gsub(".", "_")
+ fuzz = TRAVIS_BUILD_ID || Time.new.to_f.to_s.gsub(".", "_")
"hello-sinatra-#{fuzz}"
end
before do
FileUtils.rm_rf File.expand_path(VMC::CONFIG_DIR)
@@ -101,10 +101,10 @@
runner.send_keys ""
expect(runner).to say "Uploading #{app}... OK"
expect(runner).to say "Starting #{app}... OK"
- expect(runner).to say "Using Ruby", 10
+ expect(runner).to say /(Using|Installing) Ruby/i, 10
expect(runner).to say "Your bundle is complete!", 30
expect(runner).to say "Checking #{app}..."
expect(runner).to say "1/1 instances"
expect(runner).to say "OK", 30