Sha256: 4be76944f1605a3941b0966db0d70e845b84fd8d05b3bb6bf3cc3e7a95ec8c27

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

@no-clobber
Feature: vagrant-adam local file
  In order to check vagrant-adam is working
  As a user
  I should see issues with a basic smoke test

  Scenario:
    Given a Vagrantfile with a adam.provision_url of "./hello_world_local_file.sh"
    And a shell file 'hello_world_local_file.sh' with content of "echo 'Hello World!'"
    When I run `bundle exec vagrant up`
    Then the exit status should not be 1
    And the output should contain "Hello World"

  Scenario:
    Given a Vagrantfile with a adam.provision_url of "./fail_script.sh"
    And a shell file 'fail_script.sh' with content of "echo 'missing single quote"
    When I run `bundle exec vagrant up`
    Then the exit status should not be 0
    And the output should contain "Syntax error: Unterminated quoted string"

  Scenario:
    Given a Vagrantfile with a adam.provision_url of "./hello_world_local_file.sh"
    And a shell file 'hello_world_local_file.sh' with content of "echo 'Hello World!'"
    And the Vagrant box is already running
    Then the provision output should contain "Hello World"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-adam-0.3.0a features/vagrant-adam/basic_local_file.feature
vagrant-adam-0.2.0a features/vagrant-adam/basic_local_file.feature