Sha256: 30c0b1418ba368af611b5c8613a51184eea13a5668e86b1a94ba30f84a54ed8a
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
require 'rspec' require 'simplecov' SimpleCov.start require File.join(File.dirname(__FILE__), '..', 'lib', 'finite') Dir[File.dirname(__FILE__) + "/models/*.rb"].sort.each { |f| require File.expand_path(f) } RSpec.configure do |config| original_stderr = $stderr original_stdout = $stdout config.before(:all) do # Redirect stderr and stdout $stderr = StringIO.new $stdout = StringIO.new 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 |
---|---|
finite-1.1.0 | spec/spec_helper.rb |