Sha256: f547af5c3a1a5f871e339ca0af369245f7cfb7bcb6e6dffaa582bb9cb81eb0e2
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
require "coveralls" require "simplecov" require "pry" SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start require "tmuxinator" require "factory_girl" FactoryGirl.find_definitions RSpec.configure do |config| config.order = "random" end # Copied from minitest. def capture_io require 'stringio' orig_stdout, orig_stderr = $stdout, $stderr captured_stdout, captured_stderr = StringIO.new, StringIO.new $stdout, $stderr = captured_stdout, captured_stderr yield return captured_stdout.string, captured_stderr.string ensure $stdout = orig_stdout $stderr = orig_stderr end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tmuxinator-0.6.0 | spec/spec_helper.rb |