Sha256: 951af4761ca973b0289423847638de04b6a3485ada09d8affcda3c3f957a9995
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
require 'bundler/setup' Bundler.setup require 'dotenvious' # and any other gems you need RSpec.configure do |config| #copied & pasted from http://stackoverflow.com/questions/15430551 #whoops original_stderr = $stderr original_stdout = $stdout config.before(:all) do # Redirect stderr and stdout $stderr = File.open(File::NULL, "w") $stdout = File.open(File::NULL, "w") end config.after(:all) do $stderr = original_stderr $stdout = original_stdout end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dotenvious-0.0.1 | spec/spec_helper.rb |