From ad2a8d7ab69213d7f2a6b367be12fa506adcb9b3 Mon Sep 17 00:00:00 2001 From: sersut Date: Thu, 16 May 2013 08:55:42 -0700 Subject: Spec for deprecation. --- lib/chef/deprecation/warnings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/deprecation') diff --git a/lib/chef/deprecation/warnings.rb b/lib/chef/deprecation/warnings.rb index 2286489d5f..22b28f93b0 100644 --- a/lib/chef/deprecation/warnings.rb +++ b/lib/chef/deprecation/warnings.rb @@ -27,7 +27,7 @@ class Chef Chef::Log.warn "Method '#{name}' of '#{self.class}' is deprecated. It will be removed in Chef 12." Chef::Log.warn "Please update your cookbooks accordingly. Accessed from:" caller[0..3].each {|l| Chef::Log.warn l} - m.send(args) + super(*args) end end end -- cgit v1.2.1