Index: branches/features/purchaseOrders/test/functional/gnumims/functional/LoginSpec.groovy
===================================================================
--- branches/features/purchaseOrders/test/functional/gnumims/functional/LoginSpec.groovy	(revision 924)
+++ branches/features/purchaseOrders/test/functional/gnumims/functional/LoginSpec.groovy	(revision 925)
@@ -11,5 +11,6 @@
 @Stepwise
 class LoginSpec extends GebReportingSpec {
-    String getBaseUrl() { "http://localhost:8080/gnumims" }
+    def appName = grails.util.Metadata.current.'app.name'
+    String getBaseUrl() { "http://localhost:8080/$appName/" }
     File getReportDir() { new File("target/reports/geb") }
 
Index: branches/features/purchaseOrders/test/functional/gnumims/functional/pages/HomePage.groovy
===================================================================
--- branches/features/purchaseOrders/test/functional/gnumims/functional/pages/HomePage.groovy	(revision 924)
+++ branches/features/purchaseOrders/test/functional/gnumims/functional/pages/HomePage.groovy	(revision 925)
@@ -3,13 +3,6 @@
 import geb.Page
 
-/**
- * Created by IntelliJ IDEA.
- * User: John
- * Date: 26/04/2011
- * Time: 7:17:32 PM
- * To change this template use File | Settings | File Templates.
- */
-class HomePage  extends Page {
-    static url = "http://localhost:8080/gnumims/appCore/start"
+class HomePage extends Page {
+    static url = "appCore/start"
 
     static at = { $("div#menu li.navigation_active").text() == "Home" }
Index: branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.groovy
===================================================================
--- branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.groovy	(revision 924)
+++ branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.groovy	(revision 925)
@@ -3,13 +3,6 @@
 import geb.Page
 
-/**
- * Created by IntelliJ IDEA.
- * User: John
- * Date: 26/04/2011
- * Time: 2:03:04 PM
- * To change this template use File | Settings | File Templates.
- */
 class LoginPage extends Page {
-    static url = "http://localhost:8080/gnumims/login/auth"
+    static url = "login/auth"
 
     static at = {$("h1").text() == "Welcome to gnuMims please log in"}
