spec/helper.rb in heft-0.0.1 vs spec/helper.rb in heft-0.0.2
- old
+ new
@@ -1,2 +1,11 @@
require 'rspec'
require 'heft'
+
+class UniqueEmail
+ class << self
+ def next
+ require 'securerandom'
+ "#{SecureRandom.uuid.to_s}@example.test.com"
+ end
+ end
+end