formula-vault/test/integration/default/vault_spec.rb

7 lines
197 B
Ruby
Raw Normal View History

2017-04-24 10:48:25 -04:00
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