vagrant/test/unit/plugins/commands/snapshot/command
Brian Cain 87b7514603 (#7188) Clean up vagrant snapshot restore/delete error messages
This commit adds some better handling around the snapshot restore and
delete commands for the virtualbox provider. If a user attempts to restore from
a vm that does not exist, instead of exiting 0 it will raise an
exception saying the virtual machine has not been created yet.
Addtionally, if a user attempts to restore from a snapshot id that does
not exist, instead of printing a complicated exception from the
virtualbox cli tool, it prints a more useful error message telling the
user that the snapshot does not exist.
2017-06-07 09:12:20 -07:00
..
delete_test.rb (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
list_test.rb Include snapshot list unit test 2017-05-30 15:19:58 -07:00
pop_test.rb test: more tests for snapshots 2015-10-08 09:10:55 -04:00
push_test.rb test: more tests for snapshots 2015-10-08 09:10:55 -04:00
restore_test.rb (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
save_test.rb Raise exception if provider doesn't have snapshot capability 2017-05-26 15:22:25 -07:00