Skip to content

Commit

Permalink
Fixing rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
brucek committed Nov 18, 2016
1 parent a5d63ff commit 62ea256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/neo4j/core/cypher_session/adaptors/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ class HTTP < Base
# @transaction_state valid states
# nil, :open_requested, :open, :close_requested

def initialize(url, _options = {})
def initialize(url, options = {})
@url = url
@url_components = url_components!(url)
@transaction_state = nil
@http_adaptor = _options[:http_adaptor] || :net_http_persistent
@http_adaptor = options[:http_adaptor] || :net_http_persistent
end

def connect
Expand Down Expand Up @@ -187,4 +187,4 @@ def user_agent_string
end
end
end
end
end
1 change: 0 additions & 1 deletion spec/neo4j/core/cypher_session/adaptors/http_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
it_behaves_like 'Neo4j::Core::CypherSession::Adaptors::Http'
end
end

end

let(:url) { ENV['NEO4J_URL'] }
Expand Down

0 comments on commit 62ea256

Please sign in to comment.