summaryrefslogtreecommitdiff
path: root/spec/support/oc_pedant.rb
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2015-11-10 16:24:11 -0800
committerChris Doherty <cdoherty@chef.io>2015-11-10 16:24:11 -0800
commitbf7ecbc1845133d07ca53098f86d2bcb5a97e834 (patch)
tree8d663148cff051a961471826f6ff2efec2a8954b /spec/support/oc_pedant.rb
parent0c475039992d4c0f46e5ae25e9769d344a11d335 (diff)
downloadchef-zero-bf7ecbc1845133d07ca53098f86d2bcb5a97e834.tar.gz
Move search-related config to oc_pedant.rb.
Diffstat (limited to 'spec/support/oc_pedant.rb')
-rw-r--r--spec/support/oc_pedant.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/oc_pedant.rb b/spec/support/oc_pedant.rb
index bc78408..cc62dd4 100644
--- a/spec/support/oc_pedant.rb
+++ b/spec/support/oc_pedant.rb
@@ -47,6 +47,14 @@ explicit_port_url true
server_api_version 0
+internal_server chef_server
+
+# see dummy_endpoint.rb for details.
+search_server chef_server
+search_commit_url "/dummy"
+search_url_fmt "/dummy?fq=+X_CHEF_type_CHEF_X:%{type}&q=%{query}&wt=json"
+
+
# We're starting to break tests up into groups based on different
# criteria. The proper API tests (the results of which are viewable
# to OPC customers) should be the only ones run by Pedant embedded in