Sha256: 8d2697ce3bd559066fb6b3747d85050ffcd53e7dfff49cbe4805d16677ec90de
Contents?: true
Size: 299 Bytes
Versions: 5
Compression:
Stored size: 299 Bytes
Contents
Then /^the following should raise an? ([\w:]+):$/ do |error, step| lambda { steps step }.should raise_error(error.constantize) end Then /^the following should raise an? ([\w:]+) with "([^"]*)":$/ do |error, message, step| lambda { steps step }.should raise_error(error.constantize, message) end
Version data entries
5 entries across 5 versions & 1 rubygems