diff options
-rw-r--r-- | spec/unit/knife/bootstrap_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb index d9621e0219..b5698c5a9f 100644 --- a/spec/unit/knife/bootstrap_spec.rb +++ b/spec/unit/knife/bootstrap_spec.rb @@ -447,8 +447,8 @@ describe Chef::Knife::Bootstrap do end end - it "doesn't create /etc/chef/trusted_certs if :trusted_certs_dir is empty" do - allow(Dir).to receive(:glob).and_call_original + it "doesn't create /etc/chef/trusted_certs if :trusted_certs_dir is empty", :focus do + allow(Dir).to receive(:glob).and_call_original # ensure the template can be found expect(Dir).to receive(:glob).with(File.join(trusted_certs_dir, "*.{crt,pem}")).and_return([]) expect(rendered_template).not_to match(%r{mkdir -p /etc/chef/trusted_certs}) end |