test/passenger_test.rb in vanity-1.9.0 vs test/passenger_test.rb in vanity-1.9.1
- old
+ new
@@ -9,10 +9,10 @@
super
ActiveRecord::Base.connection.disconnect! # Otherwise AR metric tests fail
@original = Vanity.playground.connection
File.unlink "test/myapp/config/vanity.yml" rescue nil
File.open("test/myapp/config/vanity.yml", "w") do |io|
- io.write YAML.dump({ "production"=>DATABASE })
+ io.write YAML.dump({ "production"=>DATABASE })
end
@server = PhusionPassenger::SpawnManager.new
@server.start
Thread.pass until @server.started?
app_root = File.expand_path("myapp", File.dirname(__FILE__))