Placester/ruby-rets — pull request #20 by pgeraghty (2013-08-16 21:31:28+00:00)
Title: login_uri was not being set early enough for unauthorized requests

Line 296 of http.rb could be reached with nil login_uri, was not producing correct result. Amendment results in: "RETS::Unauthorized: Cannot login, check credentials." as expected.

Not sure if you need a test to prove this was failing, but it cropped up quickly enough.