github.com/go-chef/chef@v0.30.1/test_chef_server/test/integration/default/inspec/sandbox_spec.rb (about)

     1  # Inspec tests for the sandbox chef api go module
     2  #
     3  
     4  describe command('/go/src/github.com/go-chef/chef/testapi/bin/sandbox') do
     5    # TODO: Get the sandbox sample code to work - upload files is failing
     6  
     7    # its('stderr') { should_not match(%r{Issue}) }
     8    # its('stderr') { should_not match(%r{error|no such file|cannot find|not used|undefined}) }
     9    # its('stdout') { should match(/^Create sandboxes  /) }
    10    # its('stdout') { should match(/^Resulting sandboxes  /) }
    11  end