diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-03-29 09:40:42 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-03-29 10:23:10 -0300 |
commit | 52351bcfeb833b00366f91e965c057f431b5a8aa (patch) | |
tree | 07296ab33cd8d666019d9b840cd39328856af623 /actionpack/test/template | |
parent | b155fdadf334cff32a7e648c86c3c97f2f51257f (diff) | |
download | rails-52351bcfeb833b00366f91e965c057f431b5a8aa.tar.gz rails-52351bcfeb833b00366f91e965c057f431b5a8aa.tar.bz2 rails-52351bcfeb833b00366f91e965c057f431b5a8aa.zip |
Remove 'warning: ambiguous first argument' when running ActionPack tests
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/date_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/date_helper_test.rb b/actionpack/test/template/date_helper_test.rb index aca2fef170..fd1f824a39 100644 --- a/actionpack/test/template/date_helper_test.rb +++ b/actionpack/test/template/date_helper_test.rb @@ -2720,11 +2720,11 @@ class DateHelperTest < ActionView::TestCase end def test_time_tag_pubdate_option - assert_match /<time.*pubdate="pubdate">.*<\/time>/, time_tag(Time.now, :pubdate => true) + assert_match(/<time.*pubdate="pubdate">.*<\/time>/, time_tag(Time.now, :pubdate => true)) end def test_time_tag_with_given_text - assert_match /<time.*>Right now<\/time>/, time_tag(Time.now, 'Right now') + assert_match(/<time.*>Right now<\/time>/, time_tag(Time.now, 'Right now')) end def test_time_tag_with_different_format |