Sha256: ef4653dc8decc2de080ddb0e80345ffa48a26b26fbcf7e9dbe051180e2b13c72
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
When(/^exception should be raised$/) do |code| @exception.should == @module.module_eval(code) end When(/^I call service "(.*?)" expecting exception$/) do |code| failed=true begin @result=@module.module_eval code failed=false rescue Exception => e @exception=e end raise "expected to raise exception" unless failed end
Version data entries
3 entries across 3 versions & 1 rubygems