The real curb calls on_failure when response code is 4xx, so this commit matches the behavior in the webmock.
…n separate files. Some of them are still enormous.
… in Textmate
…nchrony >= 1.0.0
…t 1.0 with EM-Synchrony on Ruby > 1.9.2 on Travis CI
…eplaced `Net::HTTP` to make it possible to marshal objects with these constants assigned to properties. It looks like `Marshal` doesn't use const_get or consttants methods.
…return same values as original `Net::HTTP`
… true if constant is defined on the original Net::HTTP. This is only for Ruby 1.8 since Ruby 1.9 by default looks for a const in ancestors.