Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

allow raise inside rescue rspec

it { expect { object.somethig rescue StandardError }.not_to change(cat, :status) }
 
PREVIOUS NEXT
Tagged: #raise #rescue #rspec
ADD COMMENT
Topic
Name
4+7 =