Fix build for those without integration environments configured

This commit is contained in:
Raphael Sofaer 2011-05-25 15:49:57 -07:00
parent 38289b1a47
commit 17521f99cf

View file

@ -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 }