diff options
Diffstat (limited to 'spec/unit/shell_spec.rb')
-rw-r--r-- | spec/unit/shell_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/shell_spec.rb b/spec/unit/shell_spec.rb index 18b622698e..9c1a0c8e3d 100644 --- a/spec/unit/shell_spec.rb +++ b/spec/unit/shell_spec.rb @@ -150,8 +150,8 @@ describe Shell do end it "creates a help banner with the command descriptions" do - expect(@chef_object.help_banner).to match(/^\|\ Command[\s]+\|\ Description[\s]*$/) - expect(@chef_object.help_banner).to match(/^\|\ rspec_method[\s]+\|\ rspecin\'[\s]*$/) + expect(@chef_object.help_banner).to match(/^\|\ Command\s+\|\ Description\s*$/) + expect(@chef_object.help_banner).to match(/^\|\ rspec_method\s+\|\ rspecin\'\s*$/) end end |