macat/simple_cms — pull request #1 by johnnymo87 (2014-06-13 20:38:31+00:00)
Title: Test

My solution for [this code test](https://gist.github.com/macat/0b5cf8ddd73aaf625605).

I don't like how large this pull request is, but there was a lot of stuff I wanted to setup for my test environment. (BTW -- I usually use cucumber, but I wanted to experiment with plain Capybara here.)

I wasn't able to find a gem that offered me both country names and capitals together, so I had to settle for calling an API for the capital city info.

If this was a pull request to a real project, I'd need to stub out the net requests from my tests (with VCR, for example), but I was thinking that was getting beyond the scope of this assignment.