This is the example app for the Front-end Testing for Skeptics presentation.
To run the application, first bundle install
the required gems, then start it with rails server
. Visit the application, and try typing a country name to see the autocomplete in action.
To run the Capybara tests, run rspec
.
To run the JavaScript unit tests (which are unrelated to the example application -- they are an example within an example) run teabag
.
- List of countries courtesy Saša Stamenković's country-list project.
- Typeahead powered by Twitter's typeahead.js.