Commit 9705543e authored by Fabio Pelosin's avatar Fabio Pelosin

[Specification] Include name in #config warning

Closes #970
parent 93f67931
...@@ -2,7 +2,7 @@ module Pod ...@@ -2,7 +2,7 @@ module Pod
class Specification class Specification
def config def config
UI.warn "Specification#config is deprecated. The config is accessible from " \ UI.warn "[#{name}] Specification#config is deprecated. The config is accessible from " \
"the parameter passed to the hooks" "the parameter passed to the hooks"
Config.instance Config.instance
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment