I have a simple application, 1 class (Person), 1 field (name), and when I have a proper Spec test for this (I filled the populate method with a valid name), the tests still fail:
{noformat}
junit.framework.AssertionFailedError: Condition not satisfied:
status == 404
| |
302 false
at removeme.PersonControllerSpec.Test the update action performs an update on a valid domain instance(PersonControllerSpec.groovy:97)
Original Reporter: bodiam Environment: Not Specified Version: 2.3 Migrated From: http://jira.grails.org/browse/GRAILS-10596
I've created a new issue for this, mostly because there are more people who have this issue (see http://spock-framework.3207229.n2.nabble.com/Spock-test-with-grails-2-3-always-fail-td7573397.html)
I have a simple application, 1 class (Person), 1 field (name), and when I have a proper Spec test for this (I filled the populate method with a valid name), the tests still fail:
{noformat} junit.framework.AssertionFailedError: Condition not satisfied:
status == 404 | | 302 false
{noformat}
See also this issue: http://jira.grails.org/browse/GRAILS-10595