diff --git a/examples/simple/src/integration-test/groovy/spec/RegisterSpec.groovy b/examples/simple/src/integration-test/groovy/spec/RegisterSpec.groovy index f18b0979..2a5a2250 100644 --- a/examples/simple/src/integration-test/groovy/spec/RegisterSpec.groovy +++ b/examples/simple/src/integration-test/groovy/spec/RegisterSpec.groovy @@ -1,7 +1,6 @@ package spec import grails.testing.mixin.integration.Integration -import org.springframework.test.annotation.DirtiesContext import page.register.ForgotPasswordPage import page.register.RegisterPage import page.user.UserEditPage @@ -9,11 +8,7 @@ import page.user.UserSearchPage import com.dumbster.smtp.SimpleSmtpServer import com.dumbster.smtp.SmtpMessage -import spock.lang.PendingFeature -import spock.lang.Stepwise -@DirtiesContext(classMode=DirtiesContext.ClassMode.BEFORE_CLASS) -@Stepwise @Integration class RegisterSpec extends AbstractSecuritySpec { @@ -77,9 +72,6 @@ class RegisterSpec extends AbstractSecuritySpec { assertContentContains 'No user was found with that username' } - // FIXME - @DirtiesContext - @PendingFeature(reason="test is failing at resetPassword stage") void testRegisterAndForgotPassword() { given: