Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (15 sloc) 802 Bytes

Running the suite

Since the notifier must run on many versions of Rails, running its test suite is slightly different than you may be used to.

First execute the following command:

rake vendor_test_gems
# NOT: bundle exec rake vendor_test_gems

This command will download the various versions of Rails that the notifier must be tested against.

Then, to start the suite, run


Note: do NOT use 'bundle exec rake'.

For Maintainers

When developing the Hoptoad Notifier, be sure to use the integration test against an existing project on staging before pushing to master.

./script/integration_test.rb <test project's api key> <staging server hostname>

./script/integration_test.rb <test project's api key> <staging server hostname> secure