# File lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/test_search.rb, line 78 def test_boolean nodes = search(:users, "married:true") assert nodes.length == 3 assert nodes.all?{ |x| x["married"] == true } nodes = search(:users, "married:false") assert nodes.length == 1 assert nodes[0]["married"] == false end