Sha256: 595f1ff2c8a0247f1d47c6bfe54e6810964a4c89bc5120b25d5a5f874a2f5cfb

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'cruisestatus'
require 'cruisestatus/command'

require "rubygems"
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|
  def capture_stdout(&block)
    old_stdout, $stdout = $stdout, StringIO.new
    yield
    $stdout.string
  ensure
    $stdout = old_stdout
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cruisestatus-1.2.1 spec/spec_helper.rb
cruisestatus-1.2.0 spec/spec_helper.rb