test/unit/test_helper.rb in flashsdk-1.0.5.pre vs test/unit/test_helper.rb in flashsdk-1.0.12.pre
- old
+ new
@@ -1,17 +1,16 @@
require "rubygems"
require "bundler"
Bundler.setup :default, :development
+require 'sprout'
# These require statments *must* be in this order:
# http://bit.ly/bCC0Ew
# Somewhat surprised they're not being required by Bundler...
require 'shoulda'
require 'mocha'
-require 'test/unit'
-require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'flashsdk')
-$:.unshift File.dirname(__FILE__)
-
+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..'))
+require 'flashsdk'
require 'sprout/test/sprout_test_case'
-