summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rspec.rb
diff options
context:
space:
mode:
authorTensibai <tensibai@iabis.net>2019-04-24 09:41:14 +0000
committerTensibai <tensibai@iabis.net>2019-04-25 20:11:19 +0000
commitd1cbc518206f7c29a53f344dd35b2d6880e0faa1 (patch)
treec8d17536a1a6b67a40eb809d359b4e48bcb3b0c0 /lib/chef_zero/rspec.rb
parent5873d906942770a34f0cf0fed05973ec3240a275 (diff)
downloadchef-zero-d1cbc518206f7c29a53f344dd35b2d6880e0faa1.tar.gz
Initial brand refactoring
Signed-off-by: Tensibai <tensibai@iabis.net>
Diffstat (limited to 'lib/chef_zero/rspec.rb')
-rw-r--r--lib/chef_zero/rspec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/rspec.rb b/lib/chef_zero/rspec.rb
index e1fdfcc..496cea5 100644
--- a/lib/chef_zero/rspec.rb
+++ b/lib/chef_zero/rspec.rb
@@ -42,7 +42,7 @@ module ChefZero
extend RSpecClassMethods
def when_the_chef_server(description, *tags, &block)
- context "When the Chef server #{description}", *tags do
+ context "When the #{ChefZero::Dist::PRODUCT} server #{description}", *tags do
extend WhenTheChefServerClassMethods
include WhenTheChefServerInstanceMethods
@@ -69,7 +69,7 @@ module ChefZero
if chef_server_options[:server_scope] != self.class.chef_server_options[:server_scope]
raise "server_scope: #{chef_server_options[:server_scope]} will not be honored: it can only be set on when_the_chef_server!"
end
- Log.info("Starting Chef server with options #{chef_server_options}")
+ Log.info("Starting #{ChefZero::Dist::PRODUCT} server with options #{chef_server_options}")
ChefZero::RSpec.set_server_options(chef_server_options)