# File lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/test_search.rb, line 43 def test_search_exact_match nodes = search(:users, "username:speedy") assert_equal nodes.length, 1 assert_equal nodes[0]["username"], "speedy" end