TestUrls
Gem for test urls in development server. How it works:
- Get all "GET" routes
- Run all migrations on test database
- Seed db with 1 instances of each model
- curl each route
Getting started with rails(>= 3.2)
1) add gem to your Gemfile 2) start rails s 3) run bundle 4) run rake test_urls:run in the console
*Hint If you run gem's rake task, then it drops you test db
Installation
Add this line to your application's Gemfile:
gem 'test_urls'
And then execute:
$ bundle
Or install it yourself as:
$ gem install test_urls
Usage
TODO: Write usage instructions here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request