diff options
author | Chris Doherty <cdoherty@chef.io> | 2015-11-12 09:31:35 -0800 |
---|---|---|
committer | Chris Doherty <cdoherty@chef.io> | 2015-11-12 09:31:35 -0800 |
commit | 08c7c217c5dc02d68b611c0eb6c50990c45a6f79 (patch) | |
tree | 6a1b55bc88dcdcd54d045c8e2b35d3989ac9f579 /spec | |
parent | bf7ecbc1845133d07ca53098f86d2bcb5a97e834 (diff) | |
download | chef-zero-08c7c217c5dc02d68b611c0eb6c50990c45a6f79.tar.gz |
start_server -> start_cheffs_server
Diffstat (limited to 'spec')
-rw-r--r-- | spec/run_oc_pedant.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/run_oc_pedant.rb b/spec/run_oc_pedant.rb index a522998..8aa4821 100644 --- a/spec/run_oc_pedant.rb +++ b/spec/run_oc_pedant.rb @@ -5,7 +5,7 @@ require 'bundler/setup' require 'chef_zero/server' require 'rspec/core' -def start_server(chef_repo_path) +def start_cheffs_server(chef_repo_path) require 'chef/version' require 'chef/config' require 'chef/chef_fs/config' @@ -56,7 +56,7 @@ begin elsif ENV['CHEF_FS'] require 'tmpdir' tmpdir = Dir.mktmpdir - server = start_server(tmpdir) + server = start_cheffs_server(tmpdir) else server = ChefZero::Server.new(:port => 8889, :single_org => false)#, :log_level => :debug) |