test rescue rspec code example
Example: allow raise inside rescue rspec
it { expect { object.somethig rescue StandardError }.not_to change(cat, :status) }
it { expect { object.somethig rescue StandardError }.not_to change(cat, :status) }