Sha256: 5e6ac05cf5e05feafc1592a6566372ce3cfa5319aebf2a7a86cece2dbda3dfb4

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end
end

def with_stderr(&block)
  old_stderr = $stderr
  $stderr    = StringIO.new

  block.call

  return $stderr.string
ensure
  $stderr = old_stderr
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tqdm-0.4.1 spec/spec_helper.rb
tqdm-0.4.0 spec/spec_helper.rb
tqdm-0.3.0 spec/spec_helper.rb