We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635bcc4 commit aeb1a60Copy full SHA for aeb1a60
grails-datastore-gorm-tck/src/main/groovy/grails/gorm/tests/DirtyCheckingAfterListenerSpec.groovy
@@ -37,15 +37,15 @@ class DirtyCheckingAfterListenerSpec extends GormDatastoreSpec {
37
void "test state change from listener update the object"() {
38
39
when:
40
- new Player(name: "John").save()
+ Player john = new Player(name: "John").save()
41
42
then:
43
new PollingConditions().eventually { listener.isExecuted && Player.count()}
44
45
46
session.flush()
47
session.clear()
48
- Player john = Player.get(john.id)
+ john = Player.get(john.id)
49
50
51
john.attributes
0 commit comments