fixes spec/requests/http_authentication_helper.rb

pull/6552/head
Guido Fioravantti 9 years ago
parent 156f863598
commit c2936b5d04

@ -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|

Loading…
Cancel
Save