aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-10-30 03:47:07 -0700
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-10-30 03:47:07 -0700
commit0ad6c08ca50d19a9994bf4e9a464e1a44cb612a0 (patch)
treefaceebca94859de69e12f4d7b48e9958b1631575 /activesupport/test
parent4e23c0ef341c2cba6a4b21022d4ffbabdaa6e3da (diff)
parentb955939d55b71905fa3e5036149ee4c84943c599 (diff)
downloadrails-0ad6c08ca50d19a9994bf4e9a464e1a44cb612a0.tar.gz
rails-0ad6c08ca50d19a9994bf4e9a464e1a44cb612a0.tar.bz2
rails-0ad6c08ca50d19a9994bf4e9a464e1a44cb612a0.zip
Merge pull request #6107 from gazay/make_caller_attribute_in_deprecation_optional
Make callstack attribute optional in AS:Deprecation
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/deprecation_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/deprecation_test.rb b/activesupport/test/deprecation_test.rb
index c081103cc7..332100f5a1 100644
--- a/activesupport/test/deprecation_test.rb
+++ b/activesupport/test/deprecation_test.rb
@@ -9,7 +9,7 @@ class Deprecatee
def old_request; @request end
def partially(foo = nil)
- ActiveSupport::Deprecation.warn('calling with foo=nil is out', caller) if foo.nil?
+ ActiveSupport::Deprecation.warn('calling with foo=nil is out') if foo.nil?
end
def not() 2 end