summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2015-11-12 09:31:35 -0800
committerChris Doherty <cdoherty@chef.io>2015-11-12 09:31:35 -0800
commit08c7c217c5dc02d68b611c0eb6c50990c45a6f79 (patch)
tree6a1b55bc88dcdcd54d045c8e2b35d3989ac9f579 /spec
parentbf7ecbc1845133d07ca53098f86d2bcb5a97e834 (diff)
downloadchef-zero-08c7c217c5dc02d68b611c0eb6c50990c45a6f79.tar.gz
start_server -> start_cheffs_server
Diffstat (limited to 'spec')
-rw-r--r--spec/run_oc_pedant.rb4
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)