Index: branches/grails3_dealer-service/src/integration-test/groovy/com/lemans/rider/RaceResultFunctionalSpec.groovy =================================================================== diff -u -r9501 -r9537 --- branches/grails3_dealer-service/src/integration-test/groovy/com/lemans/rider/RaceResultFunctionalSpec.groovy (.../RaceResultFunctionalSpec.groovy) (revision 9501) +++ branches/grails3_dealer-service/src/integration-test/groovy/com/lemans/rider/RaceResultFunctionalSpec.groovy (.../RaceResultFunctionalSpec.groovy) (revision 9537) @@ -1,7 +1,6 @@ package com.lemans.rider import com.lemans.testing.DealerApiFunctionalSpec -import spock.lang.Ignore import spock.lang.Shared import spock.lang.Stepwise @@ -16,6 +15,8 @@ private static final String TEMP_FOLDER = 'temporaryDocumentPath' + @Shared Integer id + @Shared String tempId def setupSpec() { @@ -224,7 +225,9 @@ when: post(json) + id = payload.results.riderRaceResultId + then: with(payload) { with(results) { @@ -502,10 +505,9 @@ } } - @Ignore def 'can delete a RaceResult'() { given: - path(dealer: 'TEST99', 'raceResult/6') + path(dealer: 'TEST99', "raceResult/$id") ok() when: