spec/real_deploy_spec.rb in engineyard-serverside-1.2.2 vs spec/real_deploy_spec.rb in engineyard-serverside-1.3.0

- old
+ new

@@ -103,10 +103,11 @@ before(:all) do @deploy_dir = File.join(Dir.tmpdir, "serverside-deploy-#{Time.now.to_i}-#{$$}") # set up EY::Server like we're on a solo - EY::Server.all = [{:hostname => 'dontcare', :role => 'solo'}] + EY::Server.reset + EY::Server.add(:hostname => 'localhost', :roles => %w[solo]) # run a deploy config = EY::Deploy::Configuration.new({ "strategy" => "IntegrationSpec", "deploy_to" => @deploy_dir,