spec/spec_helper.rb in punchblock-2.3.0 vs spec/spec_helper.rb in punchblock-2.3.1
- old
+ new
@@ -22,9 +22,14 @@
config.before :suite do |variable|
Punchblock.logger = Logger.new(STDOUT)
Punchblock.logger.define_singleton_method :trace, Punchblock.logger.method(:debug)
end
+ config.before do
+ @uuid = SecureRandom.uuid
+ Punchblock.stub new_request_id: @uuid
+ end
+
config.after :each do
if defined?(:Celluloid)
Celluloid.shutdown
Celluloid.boot
end