Blame SOURCES/rubygem-actionview-4.2.7.1-CVE-2016-6316-ensure-values-tests.patch

e78d6c
diff --git a/actionview/test/template/tag_helper_test.rb b/actionview/test/template/tag_helper_test.rb
e78d6c
index 8332dd0..da48d7c 100644
e78d6c
--- a/actionview/test/template/tag_helper_test.rb
e78d6c
+++ b/actionview/test/template/tag_helper_test.rb
e78d6c
@@ -29,6 +29,14 @@ def test_tag_options_accepts_blank_option
e78d6c
     assert_equal "

", tag("p", :included => '')

e78d6c
   end
e78d6c
 
e78d6c
+  def test_tag_options_accepts_symbol_option_when_not_escaping
e78d6c
+    assert_equal "

", tag("p", { value: :symbol }, false, false)

e78d6c
+  end
e78d6c
+
e78d6c
+  def test_tag_options_accepts_integer_option_when_not_escaping
e78d6c
+    assert_equal "

", tag("p", { value: 42 }, false, false)

e78d6c
+  end
e78d6c
+
e78d6c
   def test_tag_options_converts_boolean_option
e78d6c
     assert_dom_equal '

',

e78d6c
       tag("p", :disabled => true, :itemscope => true, :multiple => true, :readonly => true, :allowfullscreen => true, :seamless => true, :typemustmatch => true, :sortable => true, :default => true, :inert => true, :truespeed => true)