I do want to be sure Chef::Recipe.respond_to?(:reboot_pending), which is where I started from. To achieve the same assurance with Chef::Resource, I tested that separately. I'll try to do the same here.