[257902] Make the babel server consumable by other organisations.
diff --git a/spec/spec_helper.php b/spec/spec_helper.php
new file mode 100644
index 0000000..712e825
--- /dev/null
+++ b/spec/spec_helper.php
@@ -0,0 +1,21 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Intalio, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Antoine Toulme, Intalio Inc.
+*******************************************************************************/
+// this file should be included in the spec files.
+// it will open a connection to a test database.
+
+error_reporting(E_ALL);
+ini_set('display_errors', '1');
+
+require_once(BABEL_BASE_DIR . "classes/system/dbconnection.class.php");
+
+DBConnection::connect(BABEL_BASE_DIR . 'spec/test.ini');
+?>