aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-01-17 14:43:11 +0530
committerArun Agrawal <arunagw@gmail.com>2013-01-17 14:43:11 +0530
commitc9362182c88139b3e49fb369b3ad408f404cc05a (patch)
treed47cf5966dc3c3fddf245d741d94ac1e4e41a900 /actionpack
parent038574a5385e07f1091e355b78558821e123a48c (diff)
downloadrails-c9362182c88139b3e49fb369b3ad408f404cc05a.tar.gz
rails-c9362182c88139b3e49fb369b3ad408f404cc05a.tar.bz2
rails-c9362182c88139b3e49fb369b3ad408f404cc05a.zip
Removing : warning: ambiguous first argument;
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/record_identifier_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/record_identifier_test.rb b/actionpack/test/controller/record_identifier_test.rb
index 3067daf697..ff5d7fd3bd 100644
--- a/actionpack/test/controller/record_identifier_test.rb
+++ b/actionpack/test/controller/record_identifier_test.rb
@@ -9,25 +9,25 @@ class ControllerRecordIdentifierTest < ActiveSupport::TestCase
end
def test_dom_id_deprecation
- assert_deprecated /dom_id method will no longer be included by default in controllers/ do
+ assert_deprecated(/dom_id method will no longer be included by default in controllers/) do
dom_id(@record)
end
end
def test_dom_class_deprecation
- assert_deprecated /dom_class method will no longer be included by default in controllers/ do
+ assert_deprecated(/dom_class method will no longer be included by default in controllers/) do
dom_class(@record)
end
end
def test_dom_id_from_module_deprecation
- assert_deprecated /Calling ActionController::RecordIdentifier.dom_id is deprecated/ do
+ assert_deprecated(/Calling ActionController::RecordIdentifier.dom_id is deprecated/) do
ActionController::RecordIdentifier.dom_id(@record)
end
end
def test_dom_class_from_module_deprecation
- assert_deprecated /Calling ActionController::RecordIdentifier.dom_class is deprecated/ do
+ assert_deprecated(/Calling ActionController::RecordIdentifier.dom_class is deprecated/) do
ActionController::RecordIdentifier.dom_class(@record)
end
end