lib/cucumber/pro/formatter.rb in cucumber-pro-0.0.4 vs lib/cucumber/pro/formatter.rb in cucumber-pro-0.0.6
- old
+ new
@@ -1,6 +1,7 @@
require 'cucumber/pro/scm'
+require 'securerandom'
module Cucumber
module Pro
class Formatter
@@ -77,10 +78,10 @@
body: { status: status }
})
end
def get_run_id
- Time.now.to_i
+ SecureRandom.hex
end
end
end