Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8975 from arunagw/warning_removed_ambiguous_first…

…_argument

Removing : warning: ambiguous first argument;
  • Loading branch information...
commit 6bab1b4d86baf061638df6edd8964295f37ed798 2 parents 038574a + c936218
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/test/controller/record_identifier_test.rb
View
8 actionpack/test/controller/record_identifier_test.rb
@@ -9,25 +9,25 @@ def setup
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
Please sign in to comment.
Something went wrong with that request. Please try again.