From 01d654e9238b4b1023f4e0bbba708b4570cac096 Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Sun, 5 May 2013 23:33:42 +0200 Subject: [PATCH] fixed https version of test --- UnitTests/HttpInterface/api-admin-spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTests/HttpInterface/api-admin-spec.rb b/UnitTests/HttpInterface/api-admin-spec.rb index ead0edb9cb..4d6b73939d 100644 --- a/UnitTests/HttpInterface/api-admin-spec.rb +++ b/UnitTests/HttpInterface/api-admin-spec.rb @@ -157,7 +157,7 @@ describe ArangoDB do rescue HTTParty::RedirectionTooDeep => e # check response code e.response.code.should eq("301") - e.response.header['location'].should =~ /^http:\/\/.*\/_admin\/html\/index.html$/ + e.response.header['location'].should =~ /^https?:\/\/.*\/_admin\/html\/index.html$/ end end end