diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-11-21 21:21:10 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-11-21 21:21:10 -0800 |
commit | 1002fd4449e7d8e95aa09586d31220d6897d7a2c (patch) | |
tree | 4da5f6c58417e70e08438290555d71298d2e3b8b /spec/integration/knife/node_create_spec.rb | |
parent | 2478b8252d3c701da2e0fd4835028da53c59c498 (diff) | |
download | chef-ambiguous_regex.tar.gz |
Avoid ambiguous regexesambiguous_regex
Just makes it a bit easier to read.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/integration/knife/node_create_spec.rb')
-rw-r--r-- | spec/integration/knife/node_create_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/knife/node_create_spec.rb b/spec/integration/knife/node_create_spec.rb index 76aa8bbfae..e8f6d71694 100644 --- a/spec/integration/knife/node_create_spec.rb +++ b/spec/integration/knife/node_create_spec.rb @@ -34,7 +34,7 @@ describe "knife node create", :workstation do it "creates a new validator node" do knife("node create bah").should_succeed out - knife("node show bah").should_succeed /Node Name: bah/ + knife("node show bah").should_succeed(/Node Name: bah/) end it "refuses to add an existing node" do |