diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-06-28 11:49:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 11:49:14 -0300 |
commit | bbcea4f3b0106d6c7531c4d1cd902653f2ff6991 (patch) | |
tree | ef98825d33a22845dd44f36c2124a9fa92edc62c /actionview/test/template/date_helper_test.rb | |
parent | a3d47122e52e0b5bef25268b0b4168cf7803d9b8 (diff) | |
parent | 940eec417f20e53abd3e3114c7fa845dac0d3a62 (diff) | |
download | rails-bbcea4f3b0106d6c7531c4d1cd902653f2ff6991.tar.gz rails-bbcea4f3b0106d6c7531c4d1cd902653f2ff6991.tar.bz2 rails-bbcea4f3b0106d6c7531c4d1cd902653f2ff6991.zip |
Merge pull request #25555 from vipulnsward/boolean-attributes-update
Bring Boolean Attributes list for AV Tags helper upto speed with current spec
Diffstat (limited to 'actionview/test/template/date_helper_test.rb')
-rw-r--r-- | actionview/test/template/date_helper_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionview/test/template/date_helper_test.rb b/actionview/test/template/date_helper_test.rb index 0f89f2ca09..3b4d4f42e5 100644 --- a/actionview/test/template/date_helper_test.rb +++ b/actionview/test/template/date_helper_test.rb @@ -3609,10 +3609,6 @@ class DateHelperTest < ActionView::TestCase assert_equal expected, time_tag(time) end - def test_time_tag_pubdate_option - 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')) end |