Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

expect method call inside rescue rspec

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