system_command_spec: Make part of bash error regex optional

This commit is contained in:
Bob Wombat Hogg 2020-04-05 11:05:30 -04:00
parent aac3337c64
commit 1a32ba3d2b

View File

@ -37,7 +37,7 @@ describe SystemCommand do
it "unsets them" do it "unsets them" do
expect { expect {
command.run! command.run!
}.to raise_error(/C: parameter null or not set/) }.to raise_error(/C: parameter (null or )?not set/)
end end
end end