Sha256: 4aa63bdfdde74dab04bd51f33ae574f65e93a760d5a674643034f99b6029f78e
Contents?: true
Size: 694 Bytes
Versions: 1
Compression:
Stored size: 694 Bytes
Contents
require "vagrant-spec/acceptance/output" module Vagrant module Spec # Tests that box add failed with a bad provider OutputTester[:box_add_wrong_provider] = lambda do |text| text =~ /doesn't match the provider/ end # Tests that box list has a certain box OutputTester[:box_list_added] = lambda do |text, name| text =~ /Successfully added box '#{name}'/ end # Tests that box list has no boxes. OutputTester[:box_list_no_boxes] = lambda do |text| text =~ /There are no installed boxes/ end # Tests that box list has a certain box OutputTester[:box_list_box] = lambda do |text, name| text =~ /^#{name}\s+/ end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-cloudstack-1.1.0 | vendor/bundle/bundler/gems/vagrant-spec-1df5a3af81cb/acceptance/output/box_output.rb |