Permalink
Browse files

Added getContent() to test case base

  • Loading branch information...
1 parent 771216e commit 6fb86f4eff099342ff68479a95a42cbc0945faa5 @marcpalmer marcpalmer committed Jul 2, 2012
@@ -1,7 +1,7 @@
#Grails Metadata file
-#Wed Jun 06 17:10:55 BST 2012
+#Thu Jun 07 21:38:56 BST 2012
app.grails.version=2.0.4
app.name=FunctionalTest
plugins.hibernate=2.0.4
-plugins.svn=1.0.2
+plugins.rest-client-builder=1.0.2
plugins.tomcat=2.0.4
@@ -11,9 +11,9 @@ grails.project.dependency.resolution = {
inherits "global"
repositories {
+ grailsRepo 'http://grails.org/plugins'
+
grailsPlugins()
- grailsHome()
- grailsCentral()
mavenCentral()
mavenRepo "http://repository.codehaus.org"
@@ -424,6 +424,10 @@ class TestCaseBase extends GroovyTestCase implements GroovyInterceptable, Client
grails.converters.XML.parse(client.responseAsString)
}
+ String getContent() {
+ client?.responseAsString
+ }
+
/**
* Set the Authorization header
*/

0 comments on commit 6fb86f4

Please sign in to comment.