test/passenger_test.rb in vanity-1.6.1 vs test/passenger_test.rb in vanity-1.7.0

- old
+ new

@@ -6,10 +6,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 "production: #{Vanity.playground.connection}" + 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__))