-
-
Save tknerr/201463b8e9b94d070bcb to your computer and use it in GitHub Desktop.
Failing tests when running `rake test` on org-binbab/gem-vagrant-wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\Repos\_github\gem-vagrant-wrapper>rake test | |
.....*....F...........FFFF | |
Pending: | |
VagrantWrapper#vagrant_version system search path returns a version less than 1.1 | |
# missing support files | |
# ./spec/vagrant_wrapper_spec.rb:72 | |
Failures: | |
1) VagrantWrapper#vagrant_location exists and contains vagrant | |
Failure/Error: expect(location).to match(/vagrant$/) | |
expected "W:\\tools\\vagrant\\HashiCorp\\Vagrant\\bin\\\\vagrant.exe" to match /vagrant$/ | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-/vagrant$/ | |
+"W:\\tools\\vagrant\\HashiCorp\\Vagrant\\bin\\\\vagrant.exe" | |
# ./spec/vagrant_wrapper_spec.rb:112:in `block (3 levels) in <top (required)>' | |
2) bin/vagrant returns usage | |
Failure/Error: expect(%x{./bin/vagrant}).to match(/^Usage/) | |
Errno::ENOEXEC: | |
Exec format error - ./bin/vagrant | |
# ./spec/vagrant_wrapper_spec.rb:211:in ``' | |
# ./spec/vagrant_wrapper_spec.rb:211:in `block (2 levels) in <top (required)>' | |
3) bin/vagrant -v returns the full version string | |
Failure/Error: expect(%x{./bin/vagrant -v}).to match(version_regex) | |
Errno::ENOEXEC: | |
Exec format error - ./bin/vagrant -v | |
# ./spec/vagrant_wrapper_spec.rb:216:in ``' | |
# ./spec/vagrant_wrapper_spec.rb:216:in `block (3 levels) in <top (required)>' | |
4) bin/vagrant with good min-ver returns the full version string | |
Failure/Error: expect(%x{./bin/vagrant --min-ver=1.0 -v}).to match(version_regex) | |
Errno::ENOEXEC: | |
Exec format error - ./bin/vagrant --min-ver=1.0 -v | |
# ./spec/vagrant_wrapper_spec.rb:222:in ``' | |
# ./spec/vagrant_wrapper_spec.rb:222:in `block (3 levels) in <top (required)>' | |
5) bin/vagrant with bad min-ver prints the instructions | |
Failure/Error: expect(%x{./bin/vagrant --min-ver=4.0 -v 2>&1}).to match /instructions/ | |
expected "'.' is not recognized as an internal or external command,\noperable program or batch file.\n" to match /instructions/ | |
Diff: | |
@@ -1,2 +1,3 @@ | |
-/instructions/ | |
+'.' is not recognized as an internal or external command, | |
+operable program or batch file. | |
# ./spec/vagrant_wrapper_spec.rb:229:in `block (3 levels) in <top (required)>' | |
Finished in 3.51 seconds (files took 0.22701 seconds to load) | |
26 examples, 5 failures, 1 pending | |
Failed examples: | |
rspec ./spec/vagrant_wrapper_spec.rb:110 # VagrantWrapper#vagrant_location exists and contains vagrant | |
rspec ./spec/vagrant_wrapper_spec.rb:210 # bin/vagrant returns usage | |
rspec ./spec/vagrant_wrapper_spec.rb:215 # bin/vagrant -v returns the full version string | |
rspec ./spec/vagrant_wrapper_spec.rb:221 # bin/vagrant with good min-ver returns the full version string | |
rspec ./spec/vagrant_wrapper_spec.rb:228 # bin/vagrant with bad min-ver prints the instructions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment