From fd9f3ad36b7ad116dfd902db5b23e3178411dc73 Mon Sep 17 00:00:00 2001 From: Mikel Lindsaar Date: Sun, 15 Aug 2010 22:36:29 +1000 Subject: Making time_zone_options_for_select return a html_safe string Signed-off-by: Santiago Pastorino --- actionpack/test/template/form_options_helper_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionpack/test/template/form_options_helper_test.rb') diff --git a/actionpack/test/template/form_options_helper_test.rb b/actionpack/test/template/form_options_helper_test.rb index 3dfaffbe97..951ad41f84 100644 --- a/actionpack/test/template/form_options_helper_test.rb +++ b/actionpack/test/template/form_options_helper_test.rb @@ -289,6 +289,10 @@ class FormOptionsHelperTest < ActionView::TestCase opts end + def test_time_zone_options_returns_html_safe_string + assert time_zone_options_for_select.html_safe? + end + def test_select @post = Post.new @post.category = "" -- cgit v1.2.3