Skip to content

Commit

Permalink
GRAILS-11636 Revert "troubleshooting test failure on CI server"
Browse files Browse the repository at this point in the history
This reverts commit f0dac3b.
  • Loading branch information
lhotari committed Mar 12, 2015
1 parent b83bdcd commit 7c7003c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import org.springframework.context.ApplicationContextAware
@TestFor(SpringController)
class AutowireServiceViaDefineBeansTests {

static doWithSpring = {
springService SpringService
}

@Test
void testThatBeansAreWired() {
defineBeans {
springService(SpringService)
}

applicationContext.getBean("springService") instanceof SpringService
controller.index()
controller.index()
Expand Down

0 comments on commit 7c7003c

Please sign in to comment.