Sha256: 802897c553df4e27b6ed0ea144cdb27da95ead8ceef1d785bfe40b5384737691

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

Feature: vagrant box validation
  As a valid vagrant box
  I need to comply to a set of rules

Scenario: Checking login
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |
  | vagrant | vagrant  |
  And I run "whoami"
  Then I should see "vagrant" in the output

Scenario: Checking sudo
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |
  | vagrant | vagrant  |
  And I run "sudo whoami"
  Then I should see "root" in the output

Scenario: Checking ruby
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |
  | vagrant | vagrant  |
  And I run ". /etc/profile ;ruby --version 2> /dev/null 1> /dev/null;  echo $?"
  Then I should see "0" in the output

Scenario: Checking gem
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |
  | vagrant | vagrant  |
  And I run ". /etc/profile; gem --version 2> /dev/null 1> /dev/null ; echo $?"
  Then I should see "0" in the output

Scenario: Checking chef
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |
  | vagrant | vagrant  |
  And I run ". /etc/profile ;chef-client --version 2> /dev/null 1>/dev/null; echo $?"
  Then I should see "0" in the output

Scenario: Checking puppet
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |
  | vagrant | vagrant  |
  And I run ". /etc/profile ; puppet --version 2> /dev/null 1>/dev/null; echo $?"
  Then I should see "0" in the output

Scenario: Checking shared folders
  When I ssh to "127.0.0.1" with the following credentials:
  | username| password |keyfile  |
  | vagrant | vagrant  | vagrant-private.key |
  And I run "mount|grep vbox-validation"
  Then I should see "vbox-validation" in the output

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vbox-0.0.4 validation/vagrant.feature