Sha256: 6219cc1f0e64fcbcfd40eb062aeb26928db73798225f02728fcd07fecf973274

Contents?: true

Size: 633 Bytes

Versions: 46

Compression:

Stored size: 633 Bytes

Contents

##############################################################################
#                               Bullet Plugin
##############################################################################

begin
  require 'bullet'

  Bullet.enable        = true
  Bullet.bullet_logger = true
  Bullet.raise         = true

  RSpec.configure do |config|
    config.before(:each) do
      Bullet.start_request if Bullet.enable?
    end

    config.after(:each) do
      if Bullet.enable?
        Bullet.perform_out_of_channel_notifications if Bullet.notification?
        Bullet.end_request
      end
    end
  end
rescue LoadError
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
rspectacular-0.70.8 lib/rspectacular/plugins/bullet.rb
rspeckled-0.0.16 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.15 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.14 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.13 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.12 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.11 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.10 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.9 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.8 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.7 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.6 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.5 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.4 lib/rspeckled/plugins/bullet.rb
rspectacular-0.70.7 lib/rspectacular/plugins/bullet.rb
rspeckled-0.0.3 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.2 lib/rspeckled/plugins/bullet.rb
rspeckled-0.0.1 lib/rspeckled/plugins/bullet.rb
rspectacular-0.70.6 lib/rspectacular/plugins/bullet.rb
rspectacular-0.70.5 lib/rspectacular/plugins/bullet.rb