test/test_helper.rb in gir_ffi-0.0.2 vs test/test_helper.rb in gir_ffi-0.0.3

- old
+ new

@@ -1,6 +1,7 @@ require 'shoulda' +require 'rr' require 'ffi' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) # Since the tests will call Gtk+ functions, Gtk+ must be initialized. module DummyGtk @@ -21,9 +22,10 @@ # Need a dummy module for some tests. module Lib end class Test::Unit::TestCase + include RR::Adapters::TestUnit def cws code code.gsub(/(^\s*|\s*$)/, "") end def get_function_introspection_data namespace, function