提交 25e4a4fe 编写于 作者: J Justin Collins

Make ignored attr_accessible test more general

上级 5a8aab75
......@@ -255,12 +255,7 @@ class Rails4Tests < Test::Unit::TestCase
assert_no_warning :type => :model,
:warning_code => 60,
:fingerprint => "cd83ecf615b17f849ba28050e7faf1d54f218dfa9435c3f65f47cb378c18cf98",
:warning_type => "Mass Assignment",
:line => nil,
:message => "Potentially dangerous attribute available for mass assignment: :admin",
:confidence => 0,
:relative_path => "app/models/account.rb",
:user_input => nil
:relative_path => "app/models/account.rb"
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册