From 17521f99cfc584337d10c470e58fed516451ebc3 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Wed, 25 May 2011 15:49:57 -0700 Subject: [PATCH] Fix build for those without integration environments configured --- spec/multi_server/server_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/multi_server/server_spec.rb b/spec/multi_server/server_spec.rb index 10a53fc13..93113a14d 100644 --- a/spec/multi_server/server_spec.rb +++ b/spec/multi_server/server_spec.rb @@ -1,7 +1,7 @@ #This is a spec for the class that runs the servers used in the other multi-server specs require 'spec_helper' -if Server.all.first.running? +if Server.all && Server.all.first && Server.all.first.running? describe Server do before do Server.all.each{|s| s.truncate_database }