Sha256: 56783447740a2e7e6ce7ee564a384f18aa321fa95b72c6e9f3e7cfc95a085458
Contents?: true
Size: 670 Bytes
Versions: 16
Compression:
Stored size: 670 Bytes
Contents
require 'bundler/setup' require_relative "../lib/html/proofer" FIXTURES_DIR = "spec/html/proofer/fixtures" RSpec.configure do |config| # Use color in STDOUT config.color_enabled = true # Use color not only in STDOUT but also in pagers and files config.tty = true # Use the specified formatter config.formatter = :documentation # :progress, :html, :textmate end def capture_stderr(&block) original_stderr = $stderr original_stdout = $stdout $stderr = fake_err = StringIO.new $stdout = fake_out = StringIO.new begin yield rescue RuntimeError ensure $stderr = original_stderr $stdout = original_stdout end fake_err.string end
Version data entries
16 entries across 16 versions & 1 rubygems