Sha256: a6599c0b56a65627f453737d9c36bafcabc380a94149d79882be5f54df4c8321
Contents?: true
Size: 510 Bytes
Versions: 8
Compression:
Stored size: 510 Bytes
Contents
Then /^the last output should match (#{PATTERN})$/ do |expected| assert { last_output =~ expected } end Then /^the last output should not match (#{PATTERN})$/ do |expected| deny { last_output =~ expected } end Then /^the last vendor output should match (#{PATTERN})$/ do |expected| assert { mock_output =~ expected } end Then /^the last vendor output should not match (#{PATTERN})$/ do |expected| deny { mock_output =~ expected } end Then /^it should fail$/ do deny { last_exit_status == 0 } end
Version data entries
8 entries across 8 versions & 1 rubygems