estately / rets

A pure-ruby library for fetching data from RETS servers
https://github.com/estately/rets
127 stars 94 forks source link

Fixed warnings in test suite #181

Closed kylerippey closed 8 years ago

kylerippey commented 8 years ago

This PR should fix two sets of warnings that I noticed in the test suite.

Duplicate test method names in test_client.rb:
rets/test/test_client.rb:112: warning: method redefined; discarding old test_find_first_calls_find_every_with_limit_one
rets/test/test_client.rb:100: warning: previous definition of test_find_first_calls_find_every_with_limit_one was here
Non-initialized instance variable in client.rb:
rets/lib/rets/client.rb:283: warning: instance variable @capabilities not initialized
phiggins commented 8 years ago

Seems like a good idea to me. :+1: