Sha256: f8ace601aaddec96614ff616f523195690dd94bacf8965bdb6682df303702b31

Contents?: true

Size: 432 Bytes

Versions: 94

Compression:

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

Version data entries

94 entries across 94 versions & 40 rubygems

Version Path
much-plugin-0.2.2 test/helper.rb
much-plugin-0.2.1 test/helper.rb
much-factory-0.1.0 test/helper.rb
mxdb-0.0.1 test/helper.rb
romo-0.20.13 test/helper.rb
deas-json-0.3.5 test/helper.rb
deas-json-0.3.4 test/helper.rb
romo-0.20.12 test/helper.rb
romo-0.20.11 test/helper.rb
romo-0.20.10 test/helper.rb
romo-0.20.9 test/helper.rb
romo-0.20.8 test/helper.rb
romo-0.20.7 test/helper.rb
romo-0.20.6 test/helper.rb
romo-0.20.5 test/helper.rb
romo-0.20.4 test/helper.rb
romo-0.20.3 test/helper.rb
romo-0.20.2 test/helper.rb
romo-0.20.1 test/helper.rb
romo-av-0.2.0 test/helper.rb