spec/internal/app/models/user.rb in gds-sso-2.1.0 vs spec/internal/app/models/user.rb in gds-sso-3.0.0
- old
+ new
@@ -1,7 +1,7 @@
class User < ActiveRecord::Base
include GDS::SSO::User
- serialize :permissions, Hash
+ serialize :permissions, Array
attr_accessible :uid, :email, :name, :permissions, as: :oauth
end