aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/track_mailer_spec.rb
Commit message (Collapse)AuthorAgeLines
* Test to ensure users who have opted out of alert emails don't get anySeb Bacon2012-05-30-0/+7
|
* Fix tests that broke as result of new flag to control if email alerts should ↵Seb Bacon2012-05-30-0/+2
| | | | be sent
* A couple more test isolation failuresRobin Houston2012-01-24-0/+1
| | | | Towards #361
* Ensure we only return true from alert-tracks process when we've actually ↵Seb Bacon2011-10-03-0/+6
| | | | done something. Fixes #247.
* Merge branch 'wdtk' into developRobin Houston2011-09-08-1/+32
|\ | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb
| * Fix “email bounced” recordingRobin Houston2011-09-07-1/+32
| | | | | | | | | | Add tests for the User.record_bounce_for_email method and (not coincidentally) make it actually work.
* | Store user's locale against profile, so we can send them localised track ↵Seb Bacon2011-09-03-1/+2
|/ | | | emails. Also internationalize more strings at the same time. Fixes #163.
* Replace STDERR.puts by $stderr.puts elsewhere, which is potentially more ↵Robin Houston2011-06-21-3/+3
| | | | flexible (because STDERR is always the system standard error file descriptor, whereas $stderr can be replaced by some other ruby object to handle error output).
* Mock out a few more things now foreign key constraints are being enforced in ↵Louise Crow2011-02-23-39/+50
| | | | the test environment.
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Only use last 100 finds, not 200Francis Irving2010-06-10-1/+1
|
* Fix track mailer unit test to work with extra find.Francis Irving2010-06-09-4/+6
|
* It is now 100, not 200Francis Irving2010-06-08-1/+1
|
* Correctly take delivery of mail in new testFrancis Irving2009-12-04-0/+7
|
* So fixtures and deliveries are right when run in alphabetical order.Francis Irving2009-10-29-0/+2
|
* Don't send overdue alerts, or request for clarification alerts to banned usersfrancis2009-10-03-0/+1
|
* Auto-generated header on tracks.francis2009-06-27-0/+16
|
* Spec tweak to work with debugging infolouise2009-05-05-1/+2
|
* Allowing xapian reindexing to be skipped if a no_xapian_reindex flag is set ↵louise2009-04-14-4/+4
| | | | on the model
* Adding a flag to allow user model to be saved without reindexing associated ↵louise2009-04-09-8/+17
| | | | models
* Adding specs for track alert emails. All users get updated, which I think ↵louise2009-04-09-1/+94
| | | | causes extra xapian updating
* Have test file for each model.francis2008-05-21-0/+8