Sha256: 37f9732ffb1dc868c2ee3f30c65b6f12619bbf20ab83e615f200d6f492e03d89
Contents?: true
Size: 567 Bytes
Versions: 2
Compression:
Stored size: 567 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 # unstub all test stubs automatically for Assert test suite require 'assert' class Assert::Context teardown{ MuchStub.unstub! } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
much-stub-0.1.1 | test/helper.rb |
much-stub-0.1.0 | test/helper.rb |