test/test_helper.rb in google_analytics-1.1.3 vs test/test_helper.rb in google_analytics-1.1.5
- old
+ new
@@ -1,8 +1,7 @@
ENV['RAILS_ENV'] = 'test'
require 'rubygems'
require 'test/unit'
-require File.expand_path(File.dirname(__FILE__) + '/../lib/rubaidh/google_analytics.rb')
-require File.expand_path(File.dirname(__FILE__) + '/../lib/rubaidh/view_helpers.rb')
-
+$: << File.join(File.dirname(__FILE__), '..', 'lib')
+require 'google_analytics'