Permalink
Browse files

make app names fuzzier in integration tests

  • Loading branch information...
1 parent 469cb00 commit efcf0fab0bfbae6426c6ff5b9f2892d117309d06 Dennis Schmidt & Ian Baker committed Mar 12, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/features/v1/new_user_flow_spec.rb
  2. +1 −1 spec/features/v2/push_flow_spec.rb
@@ -11,7 +11,7 @@
let(:password) { ENV['VMC_TEST_PASSWORD'] }
let(:app) do
- fuzz = TRAVIS_BUILD_ID || Time.new.to_f.to_s.gsub(".", "_")
+ fuzz = TRAVIS_BUILD_ID.to_s + Time.new.to_f.to_s.gsub(".", "_")
"hello-sinatra-#{fuzz}"
end
@@ -11,7 +11,7 @@
let(:password) { ENV['VMC_V2_TEST_PASSWORD'] }
let(:app) do
- fuzz = TRAVIS_BUILD_ID || Time.new.to_f.to_s.gsub(".", "_")
+ fuzz = TRAVIS_BUILD_ID.to_s + Time.new.to_f.to_s.gsub(".", "_")
"hello-sinatra-#{fuzz}"
end

0 comments on commit efcf0fa

Please sign in to comment.