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.4 lib/rspectacular/plugins/bullet.rb
rspectacular-0.70.3 lib/rspectacular/plugins/bullet.rb
rspectacular-0.70.2 lib/rspectacular/plugins/bullet.rb
rspectacular-0.70.1 lib/rspectacular/plugins/bullet.rb
rspectacular-0.70.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.69.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.68.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.67.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.66.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.65.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.64.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.63.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.62.1 lib/rspectacular/plugins/bullet.rb
rspectacular-0.62.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.61.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.60.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.59.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.58.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.57.0 lib/rspectacular/plugins/bullet.rb
rspectacular-0.56.0 lib/rspectacular/plugins/bullet.rb