I am not sure what the issue is, but here are a couple ideas:
1. Did you create your test database?
2. Did the countries.yml file get accidentally deleted?
3. Did you run rake migrate before testing?
Also, when encountering issues with tests, I find it helpful to tail
development.log. This way you can see exactly what statements are
being executed before the exception/failure.