Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
heavydawson authored Mar 13, 2017
1 parent 0b42d54 commit 424843a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/neo4j/core/cypher_session/adaptors/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ def faraday_connection(options = {})
require 'faraday'
require 'faraday_middleware/multi_json'

Faraday.new(url,params) do |c|
Faraday.new(url,options) do |c|
c.request :basic_auth, user, password
c.request :basic_auth, params[:basic_auth][:username], params[:basic_auth][:password] if params[:basic_auth]
c.request :basic_auth, options[:basic_auth][:username], options[:basic_auth][:password] if options[:basic_auth]
c.request :multi_json

c.response :multi_json, symbolize_keys: true, content_type: 'application/json'
Expand Down

0 comments on commit 424843a

Please sign in to comment.