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