Created
January 25, 2013 16:52
-
-
Save adammck/4635994 to your computer and use it in GitHub Desktop.
Stub out all Elastic Search queries with a 500 error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FakeWeb.register_uri(:any, %r{^http://(.+?):9200/}, :body=>"", :status=>500) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment