@@ -123,7 +123,7 @@ describe Admin::UsersController do
put:deactivate,params: {id: user.username}
user.reload
expect(user.deactivated?).tobe_falsey
expect(flash[:notice]).toeq("The user you are trying to deactivate has been active in the past 14 days and cannot be deactivated")
expect(flash[:notice]).toeq("The user you are trying to deactivate has been active in the past #{::User::MINIMUM_INACTIVE_DAYS} days and cannot be deactivated")