Sha256: 8693132c2c989fb9841ebf611ed3c57724470a950d6cd9d3491ce08848f3a9fb
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
# frozen_string_literal: true # rubocop:disable Metrics/BlockNesting ::RSpec.configure do |config| config.before(:each) do config.rspeckled_logger.debug("Before Each - Start - #{__FILE__}") ::Bullet.start_request if ::Bullet.enable? config.rspeckled_logger.debug("Before Each - End - #{__FILE__}") end config.after(:each) do config.rspeckled_logger.debug("After Each - Start - #{__FILE__}") if ::Bullet.enable? ::Bullet.perform_out_of_channel_notifications if ::Bullet.notification? ::Bullet.end_request end config.rspeckled_logger.debug("After Each - End - #{__FILE__}") end end # rubocop:enable Metrics/BlockNesting
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspeckled-2.1.1 | lib/rspeckled/plugins/hooks/bullet.rb |
rspeckled-2.1.0 | lib/rspeckled/plugins/hooks/bullet.rb |