spec/internal/app/models/user.rb in blacklight-spotlight-0.0.3 vs spec/internal/app/models/user.rb in blacklight-spotlight-0.1.0
- old
+ new
@@ -6,12 +6,12 @@
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
- # Method added by Blacklight; Blacklight uses #to_s on your
- # user class to get a user-displayable login/identifier for
- # the account.
- def to_s
- email
- end
- end
+ # Method added by Blacklight; Blacklight uses #to_s on your
+ # user class to get a user-displayable login/identifier for
+ # the account.
+ def to_s
+ email
+ end
+end