Forgus / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

ConfigurationHolder is deprecated #289

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ConfigurationHolder is deprecated in favor of dependency injection so 
mockConfig() doesn't work when tested code uses injected grailsApplication 
instead of ConfigurationHolder.config to retrieve configuration

Original issue reported on code.google.com by sebastie...@gmail.com on 11 Dec 2012 at 6:48

GoogleCodeExporter commented 8 years ago
Are you trying to use UnitSpec with Grails 2.x? You shouldn't.

Original comment by pnied...@gmail.com on 25 Jan 2013 at 1:10