1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix tests, active_authorizer shouldn't include blank values

Fix for a test failing after: 00ff0a6776
This commit is contained in:
Piotr Sarnacki 2012-06-09 03:15:39 +02:00
parent 41d63710f2
commit 066e6c66ce

View file

@ -361,7 +361,7 @@ module ApplicationTests
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