diff options
Diffstat (limited to 'spec/run_oc_pedant.rb')
-rw-r--r-- | spec/run_oc_pedant.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb index a11448c..df1eba1 100644 --- a/spec/run_oc_pedant.rb +++ b/spec/run_oc_pedant.rb @@ -29,7 +29,12 @@ begin # Pedant::Config.rerun = true Pedant.config.suite = 'api' - Pedant.config.internal_server = 'http://localhost:8889' + Pedant.config.internal_server = Pedant::Config.search_server = 'http://localhost:8889' + + # see dummy_endpoint.rb. + Pedant.config.search_commit_url = "/dummy" + Pedant::Config.search_url_fmt = "/dummy?fq=+X_CHEF_type_CHEF_X:%{type}&q=%{query}&wt=json" + Pedant.config[:config_file] = 'spec/support/oc_pedant.rb' Pedant.config[:server_api_version] = 0 |