aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/date_helper_test.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-04-04 02:43:12 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-04-04 02:43:12 +0530
commit4ac719686c0075b6ad6896becfe0f058efdb97ff (patch)
tree6255a8fc483436dc0fc89c0a2bc2755a51ecc329 /actionpack/test/template/date_helper_test.rb
parent4c76f6894889e8e3f5cc3722d928954c79422542 (diff)
parent3e24e9ebc22f96f9124d3a5d1c83b93c1bea937d (diff)
downloadrails-4ac719686c0075b6ad6896becfe0f058efdb97ff.tar.gz
rails-4ac719686c0075b6ad6896becfe0f058efdb97ff.tar.bz2
rails-4ac719686c0075b6ad6896becfe0f058efdb97ff.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/test/template/date_helper_test.rb')
-rw-r--r--actionpack/test/template/date_helper_test.rb4
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