github.com/go-chef/chef@v0.30.1/test_chef_server/test/integration/default/inspec/environment_spec.rb (about) 1 # Inspec tests for the cookbook chef api go module 2 # 3 describe command('/go/src/github.com/go-chef/chef/testapi/bin/environment') do 4 its('stderr') { should_not match(/error|no such file|cannot find|not used|undefined/) } 5 its('stderr') { should_not match(/testbook/) } 6 its('stderr') { should_not match(/sampbook/) } 7 its('stderr') { should_not match(/Issue loading/) } 8 its('stdout') { should match(/^List initial environments _default =>.*_default*$/) } 9 end