Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while executing tests/run.rb #5

Open
gpearson opened this issue Jun 22, 2011 · 0 comments
Open

Errors while executing tests/run.rb #5

gpearson opened this issue Jun 22, 2011 · 0 comments

Comments

@gpearson
Copy link

Loaded suite tests/run
Started
............EF.....EEEEEEEEEEEE
Finished in 0.051634 seconds.

  1. Error:
    test_po_box(TestAddress):
    ArgumentError: assertion message must be String or Proc, but TrueClass was given.
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/address.rb:64:in `test_po_box'

  2. Failure:
    test_skip_parse(TestAddress) [/root/geocoder/simplegeo/geocoder-2011-06-20/tests/address.rb:182]:
    <"main st"> expected but was
    <"1233 main st">.

  3. Error:
    test_city_state_together(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  4. Error:
    test_city_with_street_type_in_name(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  5. Error:
    test_intersection(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  6. Error:
    test_load(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  7. Error:
    test_place(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  8. Error:
    test_sample(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  9. Error:
    test_should_geocode_with_hash(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  10. Error:
    test_should_get_street_number_correctly(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  11. Error:
    test_should_work_with_partial_hash(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  12. Error:
    test_state_street_together(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  13. Error:
    test_weird_edge_case_explosion(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

  14. Error:
    test_zip(TestDatabase):
    TypeError: can't convert nil into String
    /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db'
    /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

31 tests, 156 assertions, 1 failures, 13 errors, 0 skips

Test run options: --seed 44558

The command to get this result was ruby tests/run.rb as mentioned within the README.rdoc file. Is documentation someplace that can point me into a direction to make the tests run cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant