mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Removing attr_accessible.
This commit is contained in:
@@ -33,8 +33,4 @@ class ActiveSupport::TestCase
|
||||
def create_user(attributes={})
|
||||
User.create!(valid_attributes(attributes))
|
||||
end
|
||||
|
||||
def field_accessible?(field)
|
||||
new_user(field => 'test').send(field) == 'test'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user