Sha256: 38817888dde14f92be55067413587ddab204d3018d36a8fe4fa8f8feb4cb7e80
Contents?: true
Size: 1.06 KB
Versions: 3
Compression:
Stored size: 1.06 KB
Contents
@no-clobber Feature: vagrant-adam validations In order to avoid configuration mistakes for vagrant-adam commands As a user I should see proper validation errors Scenario: raises error if url of file doesnt exist Given a Vagrantfile with a adam.provision_url of "https://github.com/petems/vagrant-adam/this_file_doesnt_exist.sh" When I run `bundle exec vagrant up` Then the exit status should not be 0 And the output should contain "The requested URL returned error: 404 Not Found" Scenario: raises error if path of file doesnt exist Given a Vagrantfile with a adam.provision_url of "/tmp/foo_bar_baz.sh" When I run `bundle exec vagrant up` Then the exit status should not be 0 And the output should contain "Couldn't open file /tmp/foo_bar_baz.sh" Scenario: Given a Vagrantfile with no adam.provision_url And the environment variable PRE_PROV_URL is "/tmp/foo_bar_baz.sh" When I run `bundle exec vagrant up` Then the exit status should not be 0 And the output should contain "Couldn't open file /tmp/foo_bar_baz.sh"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-adam-0.3.0a | features/vagrant-adam/validations.feature |
vagrant-adam-0.2.0a | features/vagrant-adam/validations.feature |
vagrant-adam-0.1.0a | features/vagrant-adam/validations.feature |