Add Chef 12 support
spec/integration/encrypted_attribute/search_helper.rb: fix RuboCop offense