6 lines
197 B
Ruby
6 lines
197 B
Ruby
describe command('/usr/local/bin/vault -version') do
|
|
its(:exit_status) { should eq 0 }
|
|
its(:stderr) { should be_empty }
|
|
its(:stdout) { should match(/^Vault v[0-9\.]+ \('[0-9a-f]+'\)/) }
|
|
end
|
|
|