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
romo-0.20.0 test/helper.rb
sweetums-0.0.1 test/helper.rb
rowlf-0.0.1 test/helper.rb
waldorf-0.0.1 test/helper.rb
statler-0.0.1 test/helper.rb
misterdb-0.0.1 test/helper.rb
drteeth-0.0.1 test/helper.rb
fuhn-0.0.1 test/helper.rb
ooby-0.0.1 test/helper.rb
mrdb-0.0.1 test/helper.rb
romo-0.19.10 test/helper.rb
romo-av-0.1.6 test/helper.rb
romo-0.19.9 test/helper.rb
romo-0.19.8 test/helper.rb
rawr-0.0.1 test/helper.rb
elliot-0.0.1 test/helper.rb
rdubs-0.0.1 test/helper.rb
romo-0.19.7 test/helper.rb
romo-0.19.6 test/helper.rb
romo-0.19.5 test/helper.rb