summaryrefslogtreecommitdiff
path: root/spec/support/fakeweb
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-05-16 13:16:54 -0700
committerSamuel Giddins <segiddins@segiddins.me>2016-01-25 10:45:41 -0600
commitf2a829b3d8e6bdbf3b44f229002fbe8886828454 (patch)
tree29ebb747924dabf7f8515f2894e12b7f71c184ce /spec/support/fakeweb
parent458bb82aea7cf993baf864a148f579f82f0058f4 (diff)
downloadbundler-f2a829b3d8e6bdbf3b44f229002fbe8886828454.tar.gz
Return a 500 in the windows fakeweb for the new index version endpoint
Diffstat (limited to 'spec/support/fakeweb')
-rw-r--r--spec/support/fakeweb/windows.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/fakeweb/windows.rb b/spec/support/fakeweb/windows.rb
index 6ff9560d4a..6c674b31b6 100644
--- a/spec/support/fakeweb/windows.rb
+++ b/spec/support/fakeweb/windows.rb
@@ -21,3 +21,6 @@ FakeWeb.register_uri(:get, "http://localgemserver.test/gems/rcov-1.0-x86-mswin32
FakeWeb.register_uri(:get, "http://localgemserver.test/api/v1/dependencies",
:status => ["404", "Not Found"])
+
+FakeWeb.register_uri(:get, "http://localgemserver.test/versions",
+ :status => ["500", "Internal Server Error"])