Closed div closed 11 years ago
This is a nice patch. Thanks! Would you mind answering my question above before I merge it?
Sure, the first test has really narrow scope, a typo in the error class name and the test is always passing. When we are asserting presence i'm in for a narrow thing, but when we are asserting absence of smth, i prefer that smth to be large enough.
Merged. Thanks for this patch!
Since that's what the ActiveSupport currently does https://github.com/rails/rails/blob/4-0-stable/activesupport/lib/active_support/rescuable.rb