Skip to content

Commit

Permalink
Makes sure the Retry5xxSessionProxy spec cleans up after itself
Browse files Browse the repository at this point in the history
  • Loading branch information
alindeman committed Sep 2, 2012
1 parent 98f8ae6 commit f9f4e2b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
Sunspot.session = @proxy
end

after :each do
Sunspot::Session.connection_class = nil
Sunspot.reset!(true)
end

class FakeRSolrErrorHttp < RSolr::Error::Http
def backtrace
[]
Expand Down

0 comments on commit f9f4e2b

Please sign in to comment.