failing rspec when pundit && devise are used in comb

when pundit and devise are used together, user factory lacks the confirmed_at attribute which is required when confirmable or inviteable modules are enabled