Sha256: 23a7491a305566791ed67dd950a1a30a231b8f1d10cab27d63702a0162cd70e0

Contents?: true

Size: 200 Bytes

Versions: 16

Compression:

Stored size: 200 Bytes

Contents

module DisableWarnings
  def disable_warnings
    before(:all) do
      @orig_std_err = $stderr
      $stderr = StringIO.new
    end

    after(:all) do
      $stderr = @orig_std_err
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
vcr-1.6.0 spec/support/disable_warnings.rb
vcr-1.5.1 spec/support/disable_warnings.rb
vcr-1.5.0 spec/support/disable_warnings.rb
vcr-1.4.0 spec/support/disable_warnings.rb
vcr-1.3.3 spec/support/disable_warnings.rb
vcr-1.3.2 spec/support/disable_warnings.rb
vcr-1.3.1 spec/support/disable_warnings.rb
vcr-1.3.0 spec/support/disable_warnings.rb
vcr-1.2.0 spec/support/disable_warnings.rb
vcr-1.1.2 spec/support/disable_warnings.rb
vcr-1.1.1 spec/support/disable_warnings.rb
vcr-0.4.1 spec/support/disable_warnings.rb
vcr-0.4.0 spec/support/disable_warnings.rb
vcr-0.3.1 spec/support/disable_warnings.rb
vcr-0.3.0 spec/support/disable_warnings.rb
vcr-0.2.0 spec/support/disable_warnings.rb