summaryrefslogtreecommitdiff
path: root/spec/unit/search
diff options
context:
space:
mode:
authorMia Henderson <mimato@users.noreply.github.com>2020-01-27 17:15:15 -0500
committerMia Henderson <mimato@users.noreply.github.com>2020-01-27 17:17:10 -0500
commit80eb6112c4baa36ecccbb780791f2ef34d2f8992 (patch)
tree7bd873c6413ac442ab9b2bbed6825b31fcdffa81 /spec/unit/search
parentc22e314ce8e9ad1b6b91125272e4e33c5ce2e35c (diff)
downloadchef-80eb6112c4baa36ecccbb780791f2ef34d2f8992.tar.gz
Fix ChefStyle
Signed-off-by: Mia Henderson <mia@pagerduty.com>
Diffstat (limited to 'spec/unit/search')
-rw-r--r--spec/unit/search/query_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/search/query_spec.rb b/spec/unit/search/query_spec.rb
index ecac444f5e..4fbe599d32 100644
--- a/spec/unit/search/query_spec.rb
+++ b/spec/unit/search/query_spec.rb
@@ -244,7 +244,7 @@ describe Chef::Search::Query do
expect(rest).to receive(:get).with(
"search/node?q=tags:*free.messi*%20OR%20roles:*free.messi*%20OR%20fqdn:*free.messi*%20OR%20addresses:*free.messi*%20OR%20policy_name:*free.messi*%20OR%20policy_group:*free.messi*&start=0&rows=#{default_rows}"
).and_return(response)
- query.search('node', "free.messi", fuzz: true)
+ query.search("node", "free.messi", fuzz: true)
end
it "does not fuzzify node searches when fuzz is not set" do