Fix error: Specification#config is deprecated. The config is accessible from the parameter passed to the hooks
Merge pull request #2683 from alondon/master

Fix error: Specification#config is deprecated. The config is accessible from the parameter passed to the hooks