test/test_helper.rb in imagine_cms-3.0.0.beta8 vs test/test_helper.rb in imagine_cms-3.0.0.beta9
- old
+ new
@@ -6,5 +6,10 @@
Rails.backtrace_cleaner.remove_silencers!
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
+
+# Load fixtures from the engine
+if ActiveSupport::TestCase.method_defined?(:fixture_path=)
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
+end