Sha256: 76b2bcc1dfc7f6ec3d6b88ac29c0e2ab68d188a0ba2550948337049a46e8c01f
Contents?: true
Size: 265 Bytes
Versions: 21
Compression:
Stored size: 265 Bytes
Contents
Then /^the output should( not)? contain \/(.*)\/$/ do |negated, regexp| output = all_commands.map { |c| c.output }.join("\n") regexp = Regexp.new(regexp) if negated expect(output).not_to match(regexp) else expect(output).to match(regexp) end end
Version data entries
21 entries across 21 versions & 1 rubygems