Sha256: 2fcc71f07e058590fa72739d495d96edfd8368eebf0d292776ecf7d1692a6aa2

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

# this file is automatically required when you run `assert`
# put any test helpers here

# add the root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))

# require pry for debugging (`binding.pry`)
require 'pry'

require 'test/support/factory'

# 1.8.7 backfills

# Array#sample
if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
  class Array
    alias_method :sample, :choice
  end
end

ENV['CAPUTIL_SILENCE_SAY'] = 'yes'

require 'cap-util'
require 'cap-util/fake_cap'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cap-util-1.5.2 test/helper.rb