Added the RoR Login-Engine and activated it on the site.
[selectricity-live] / vendor / plugins / login_engine / test / test_helper.rb
diff --git a/vendor/plugins/login_engine/test/test_helper.rb b/vendor/plugins/login_engine/test/test_helper.rb
new file mode 100644 (file)
index 0000000..eba8aa1
--- /dev/null
@@ -0,0 +1,11 @@
+require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') # the default rails helper
+
+# ensure that the Engines testing enhancements are loaded.
+require File.join(Engines.config(:root), "engines", "lib", "engines", "testing_extensions")
+
+require File.dirname(__FILE__) + '/mocks/time'
+require File.dirname(__FILE__) + '/mocks/mail'
+
+# set up the fixtures location
+Test::Unit::TestCase.fixture_path = File.dirname(__FILE__)  + "/fixtures/"
+$LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)

Benjamin Mako Hill || Want to submit a patch?