Provides a Rails application for testing rubygems that use rails. Requires Bundler and Rspec.
Add this line to your gemspec:
Add this line to your spec helper:
You can also optionally add this to your Rakefile to get all available Rails tasks
Dummy Application provides all of the bootstrap code to have a rails application available to your gem's tests. It sets the root of the rails application to '/your/gem/path/spec/dummy'. If you need to add application code for your specs place them in 'spec/dummy/app'.
- Fork it ( https://github.com/adamhunter/dummy-application/fork )
- 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 a new Pull Request