test/support/user.rb in authpds-nyu-0.1.4 vs test/support/user.rb in authpds-nyu-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
class User < ActiveRecord::Base
- serialize :user_attributes
+ serialize :user_attributes
- acts_as_authentic do |c|
- c.validations_scope = :username
- c.validate_password_field = false
- c.require_password_confirmation = false
- end
+ acts_as_authentic do |c|
+ c.validations_scope = :username
+ c.validate_password_field = false
+ c.require_password_confirmation = false
+ end
end
\ No newline at end of file