Sha256: 3ffcab6b2d1d941054b449cbabdcddf22be34a1ce78a02d6c91aad38be4da90d

Contents?: true

Size: 473 Bytes

Versions: 59

Compression:

Stored size: 473 Bytes

Contents

require "acceptance/support/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|
    Acceptance::Output.new(actual).send(expected, *args)
  end

  failure_message_for_should do |actual|
    "expected output to match: #{expected} #{args.inspect}"
  end
end

Version data entries

59 entries across 59 versions & 11 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/test/acceptance/support/matchers/match_output.rb
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/test/acceptance/support/matchers/match_output.rb
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/test/acceptance/support/matchers/match_output.rb
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/test/acceptance/support/matchers/match_output.rb
bmhatfield-vagrant-1.0.10 test/acceptance/support/matchers/match_output.rb
bmhatfield-vagrant-1.0.9 test/acceptance/support/matchers/match_output.rb
tnargav-1.3.6 test/acceptance/support/matchers/match_output.rb
tnargav-1.3.3 test/acceptance/support/matchers/match_output.rb
bmhatfield-vagrant-1.0.8 test/acceptance/support/matchers/match_output.rb
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/matchers/match_output.rb
tnargav-1.2.3 test/acceptance/support/matchers/match_output.rb
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/acceptance/support/matchers/match_output.rb
bmhatfield-vagrant-1.0.7 test/acceptance/support/matchers/match_output.rb
vagrant-shell-0.2.6 vendor/bundle/gems/tnargav-1.2.2/test/acceptance/support/matchers/match_output.rb
vagrant-shell-0.2.5 vendor/bundle/gems/tnargav-1.2.2/test/acceptance/support/matchers/match_output.rb
tnargav-1.2.2 test/acceptance/support/matchers/match_output.rb
vagrantup-1.1.3 test/acceptance/support/matchers/match_output.rb
vagrantup-1.1.2 test/acceptance/support/matchers/match_output.rb
vagrantup-1.1.1 test/acceptance/support/matchers/match_output.rb
vagrantup-1.1.0 test/acceptance/support/matchers/match_output.rb