Skip to content

Commit

Permalink
fixed solr ping url
Browse files Browse the repository at this point in the history
  • Loading branch information
kevivmatrix committed Apr 15, 2014
1 parent 1b9e5a6 commit 69bc37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sunspot_test.rb
Expand Up @@ -67,7 +67,7 @@ def wait_until_solr_starts

def solr_running?
begin
solr_ping_uri = URI.parse("#{Sunspot.session.config.solr.url}/ping")
solr_ping_uri = URI.parse("#{Sunspot.session.original_session.config.solr.url}/ping")
Net::HTTP.get(solr_ping_uri)
true # Solr Running
rescue
Expand Down

0 comments on commit 69bc37d

Please sign in to comment.