提交 717a3759 编写于 作者: J Justin Collins

Generalize version number in test

上级 7e070834
...@@ -572,7 +572,7 @@ class Rails3Tests < Test::Unit::TestCase ...@@ -572,7 +572,7 @@ class Rails3Tests < Test::Unit::TestCase
def test_string_buffer_manipulation_bug def test_string_buffer_manipulation_bug
assert_warning :type => :warning, assert_warning :type => :warning,
:warning_type => "Cross Site Scripting", :warning_type => "Cross Site Scripting",
:message => /^Rails 3.0.3 has a vulnerabilty in SafeBuffer. Upgrade to 3.0.12/, :message => /^Rails 3\.\d\.\d has a vulnerabilty in SafeBuffer. Upgrade to 3.0.12/,
:confidence => 1, :confidence => 1,
:file => /Gemfile/ :file => /Gemfile/
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册