Sha256: 3831f874df72d7b5a0d853e09b371c795d4aa48624e4df4a43865d8a2ca35303

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 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

ARGV = []

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dotenvious-0.0.7 spec/spec_helper.rb
dotenvious-0.0.6 spec/spec_helper.rb
dotenvious-0.0.5 spec/spec_helper.rb
dotenvious-0.0.4 spec/spec_helper.rb
dotenvious-0.0.3 spec/spec_helper.rb