diff options
author | Azul <azul@riseup.net> | 2014-02-04 15:47:55 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2014-02-04 16:20:12 +0100 |
commit | 7bb4ab417c0275fcca03abe338b3b81c17b17a6e (patch) | |
tree | 5b6db1de8c82b57114f76372857d50ab111f9ca1 /lib/tapicero.rb | |
parent | 5cd3df1a9be8e7db2f3e364fd730ed78c8d0e49f (diff) |
prevent 409s and 412 and reraise them in tests
Including tests that ensure this
Diffstat (limited to 'lib/tapicero.rb')
-rw-r--r-- | lib/tapicero.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tapicero.rb b/lib/tapicero.rb index 1063b85..a098287 100644 --- a/lib/tapicero.rb +++ b/lib/tapicero.rb @@ -8,7 +8,11 @@ module Tapicero attr_accessor :config end - + # reraise exceptions instead of retrying + # used in tests + unless defined? RERAISE + RERAISE = false + end # # Load Config # this must come first, because CouchRest needs the connection |