Sha256: c12802bbc624c8c63944996e7891c61a3023cb2861a384600e61a7c9007d2299

Contents?: true

Size: 388 Bytes

Versions: 5

Compression:

Stored size: 388 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require 'bundler/setup'
require 'logger'
require 'pry'
require 'rails'
require 'carrierwave_backgrounder'

module WarningSuppression
  def suppress_warnings
    original_verbosity = $VERBOSE
    $VERBOSE = nil
    result = yield
    $VERBOSE = original_verbosity
    return result
  end
end

RSpec.configure do |c|
  c.include WarningSuppression
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
carrierwave_backgrounder-1.0.2 spec/spec_helper.rb
carrierwave_backgrounder-1.0.1 spec/spec_helper.rb
carrierwave_backgrounder-1.0.0 spec/spec_helper.rb
carrierwave_backgrounder-1.0.0.beta.2 spec/spec_helper.rb
carrierwave_backgrounder-1.0.0.beta spec/spec_helper.rb