Sha256: 528d94cdacbd4b181f21c7e8d783c5a0d17ac89b4326c20d6676c9f94af71ef6
Contents?: true
Size: 803 Bytes
Versions: 11
Compression:
Stored size: 803 Bytes
Contents
require "vagrant-spec/acceptance/output" module Vagrant module Spec # Tests the Vagrant plugin list output has no plugins OutputTester[:plugin_list_none] = lambda do |text| text =~ /^No plugins/ end # Tests that plugin list shows a plugin OutputTester[:plugin_list_plugin] = lambda do |text, name, version| text =~ /^#{name} \(#{version}\)$/ end # Tests that Vagrant plugin install fails to a plugin not found OutputTester[:plugin_install_not_found] = lambda do |text, name| text =~ /^The plugin '#{name}' could not be/ end # Tests that Vagrant plugin install fails to a plugin not found OutputTester[:plugin_installed] = lambda do |text, name, version| text =~ /^Installed the plugin '#{name} \(#{version}\)'/ end end end
Version data entries
11 entries across 11 versions & 2 rubygems