test/passenger_test.rb in vanity-1.7.1 vs test/passenger_test.rb in vanity-1.8.0

- old
+ new

@@ -1,8 +1,10 @@ require "test/test_helper" -require "phusion_passenger/spawn_manager" +#not supported for rails3 +unless defined?(Rails::Railtie) +require "phusion_passenger/spawn_manager" class PassengerTest < Test::Unit::TestCase def setup super ActiveRecord::Base.connection.disconnect! # Otherwise AR metric tests fail @original = Vanity.playground.connection @@ -37,7 +39,7 @@ def teardown super @server.stop File.unlink "test/myapp/config/vanity.yml" end - +end end