Sha256: 2a1200066dbb2de43a4d19779988d91c43024b34615785e5d2febbdfb4682651
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
if defined?(VEX_TEST) DIRNAME = File.expand_path File.dirname(__FILE__) Dir.chdir(DIRNAME) require "rubygems" APP_ROOT = DIRNAME APP_ENV = "test" # require "active_record" # # require "#{DIRNAME}/initializers/fake_rails.rb" # # initialize the gem and the test runner $:.push "#{DIRNAME}/../lib" if defined?(VEX_AUTO_TEST) require "vex" else require "vex/#{VEX_TEST}" end Dir.glob("#{DIRNAME}/#{VEX_TEST}-tests/**/*.rb").each do |file| load file end # --------------------------------------------------------------------- require 'ruby-debug' require 'mocha' require 'etest' # # run tests Etest.autorun end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vex-0.6.2 | test/test_helper.rb |
vex-0.4.4 | test/test_helper.rb |
vex-0.4.2 | test/test_helper.rb |