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
undies-3.1.0 test/helper.rb
pruview-0.0.1 test/helper.rb
deas-json-0.3.2 test/helper.rb
much-decimal-0.1.1 test/helper.rb
romo-av-0.1.1 test/helper.rb
romo-0.15.9 test/helper.rb
much-decimal-0.1.0 test/helper.rb
hella-redis-0.3.1 test/helper.rb
much-timeout-0.1.0 test/helper.rb
much-decimal-0.0.1 test/helper.rb
much-timeout-0.0.1 test/helper.rb
much-plugin-0.2.0 test/helper.rb
assert-rack-test-1.0.4 test/helper.rb
much-plugin-0.1.1 test/helper.rb