test/helper.rb in rays-0.1.6 vs test/helper.rb in rays-0.1.7

- old
+ new

@@ -1,13 +1,20 @@ # -*- coding: utf-8 -*- -require 'xot/load_path' -Xot::LoadPath.unshift File.expand_path('../../lib', __FILE__) +%w[../xot ../rucy .] + .map {|s| File.expand_path "../../#{s}/lib", __FILE__} + .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)} require 'test/unit' +require 'xot/test' require 'rays' +include Xot::Test + unless $RAYS_NOAUTOINIT - def Rays.fin! (); end + def Rays.fin! () end end + + +Rays.init_offscreen_context