From c2936b5d04c4b2d793f32a50f5569f153070cadd Mon Sep 17 00:00:00 2001 From: Guido Fioravantti Date: Thu, 11 Feb 2016 17:00:43 +0100 Subject: [PATCH] fixes spec/requests/http_authentication_helper.rb --- spec/requests/http_authentication_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/requests/http_authentication_helper.rb b/spec/requests/http_authentication_helper.rb index 2aec212c36..f691c4ab2f 100644 --- a/spec/requests/http_authentication_helper.rb +++ b/spec/requests/http_authentication_helper.rb @@ -4,16 +4,16 @@ module HttpAuthenticationHelper end def authentication_headers(value) - { authenticated_header => value } + { "#{authenticated_header}" => value } end def stub_http_header_authentication_configuration(field: 'email', autocreation: false, enabled: true) Cartodb.stubs(:get_config) config = { - header: authenticated_header, - field: field, - autocreation: autocreation + 'header' => authenticated_header, + 'field' => field, + 'autocreation' => autocreation } config.each do |f, v|