# File lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/test_search.rb, line 49 def test_get_all_with_field nodes = search(:users, "username:*") assert nodes.length > 0 assert nodes.all?{|x| !x["username"].nil?} end