Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed a simple Typo: 'edirectUrl' should be 'redirectUrl' #6

Merged
merged 1 commit into from

3 participants

@ColinHarrington

Simple naming error.

'edirectUrl' should be 'redirectUrl'

@zsxking

Will this fix goes to maven repo anytime soon? This bug just render half the plugin useless.

@marcpalmer marcpalmer merged commit 9f46d8e into Grailsrocks:master
@marcpalmer
Owner

FFFFF sorry about that Colin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
2  src/groovy/com/grailsrocks/functionaltest/TestCaseBase.groovy
@@ -347,7 +347,7 @@ class TestCaseBase extends GroovyTestCase implements GroovyInterceptable, Client
if (!HTTPUtils.isRedirectStatus(client.responseStatus)) {
throw new AssertionFailedError("Asserting redirect, but response was not a valid redirect status code")
}
- if (!edirectUrl?.contains(expected)) {
+ if (!redirectUrl?.contains(expected)) {
throw new AssertionFailedError("Asserting redirect contains [$expected], but it didn't. Was: [${redirectUrl}]")
}
}
Something went wrong with that request. Please try again.