Skip to content

Commit

Permalink
Added info about testing the notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Tammer Saleh committed May 13, 2009
1 parent 8ce2d49 commit 519168a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions TESTING
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
For Maintainers:

When developing the Hoptaod 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

2 changes: 1 addition & 1 deletion script/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
config.host = host
config.api_key = ARGV.first
end
puts "Sending #{secure or "in"}secure notification to project with key #{ARGV.first}"
puts "Sending #{secure ? "" : "in"}secure notification to project with key #{ARGV.first}"
HoptoadNotifier.notify(exception)

0 comments on commit 519168a

Please sign in to comment.