Railsテストでは、すでに最新のバージョンに更新されているgem(attr_encrypted)に対して廃止予定の警告が表示されています。それは読む:Rails test throwing deprecation警告:attr_encrypted
DEPRECATION WARNING: <custom_attribute_name> is not an attribute known
to Active Record. This behavior is deprecated and will be removed in
the next version of Rails. If you'd like <custom_attribute_name> to be
managed by Active Record, add attribute :<custom_attribute_name> to
your class.
ないそれを行うために私を求めているのかわから...それはattr_encrypted使用して宣言する必要があります。