Sha256: ed96b39b5d85fb8780e5aaea739844f94548ce8f99365b8db2254feba726b8a9
Contents?: true
Size: 519 Bytes
Versions: 82
Compression:
Stored size: 519 Bytes
Contents
require "vagrant-spec/acceptance/output" # This creates a matcher that is used to match against certain # Vagrant output. Vagrant output is not what is being tested, # so all that state is hidden away in Acceptance::Output. RSpec::Matchers.define :match_output do |expected, *args| match do |actual| Vagrant::Spec::OutputTester.matches?(actual, expected, *args) end failure_message_for_should do |actual| "expected output to match: #{expected} #{args.inspect}\n\n" + "output: #{actual}" end end
Version data entries
82 entries across 29 versions & 2 rubygems