test/test_helper.rb in nav-0.7.0 vs test/test_helper.rb in nav-0.9.0

- old
+ new

@@ -1,14 +1,15 @@ -require 'rubygems' +$:.unshift File.expand_path('..', __FILE__) +$:.unshift File.expand_path('../../lib', __FILE__) + +require 'nav' require 'minitest/autorun' +require 'rr' begin require 'action_view' - require 'rr' rescue LoadError STDERR.puts "Unable to run Nav tests." -else - require File.dirname(__FILE__) + "/../lib/nav" end class MiniTest::Unit::TestCase include RR::Adapters::TestUnit