提交 066e6c66 编写于 作者: P Piotr Sarnacki

Fix tests, active_authorizer shouldn't include blank values

Fix for a test failing after: 00ff0a67
上级 41d63710
......@@ -361,7 +361,7 @@ def index
assert_equal ActiveModel::MassAssignmentSecurity::WhiteList,
ActiveRecord::Base.active_authorizers[:default].class
assert_equal [""], ActiveRecord::Base.active_authorizers[:default].to_a
assert_equal [], ActiveRecord::Base.active_authorizers[:default].to_a
end
test "registers interceptors with ActionMailer" do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册