aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
Commit message (Expand)AuthorAgeLines
* Mailers have their own home in Rails 3Henare Degan2013-02-25-871/+0
* and_return with should_not_receive is deprecated. Fixes #826Henare Degan2013-02-25-2/+2
* Mocking and stubbing work a bit differently, this allows the test to runHenare Degan2013-02-08-1/+1
* Add a test that exposes a problem we have with renaming attributesHenare Degan2013-02-07-0/+8
* Move over to rails 3 mail api because there appear to be problems with sendin...Matthew Landauer2013-02-01-1/+1
* Merge branch 'i18n_rails3_preparation' into rails-3-spikeMatthew Landauer2013-01-31-1/+1
|\
| * Set locale with I18n rather than through globalizeMatthew Landauer2013-01-17-3/+3
* | Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ...Matthew Landauer2013-01-28-1/+1
* | Merge branch 'rails_xss' into rails-3-spikeMatthew Landauer2013-01-25-1/+19
|\|
| * As we're validating filename with validates_presence_of, which doesn't allow ...Louise Crow2013-01-14-1/+12
| * Handle case where info request doesn't have a user_nameLouise Crow2013-01-07-0/+7
* | Fixes to ApplicationMailer tests in Rails 3Matthew Landauer2013-01-23-15/+11
* | Fix deprecation warningsHenare Degan2013-01-23-3/+3
* | Change syntax - this looks like a test to meHenare Degan2013-01-23-1/+1
* | In 447e4af we started adding the error to each attribute so start testing eachHenare Degan2013-01-23-4/+10
* | Merge remote-tracking branch 'mysociety/develop' into rails-3-spikeMatthew Landauer2013-01-04-24/+32
|\|
| * Wrap specs on the extraction of RFC-822 headers in code that sets the ENV tim...Louise Crow2012-12-11-24/+32
* | The run_callbacks API has changedHenare Degan2012-12-12-1/+1
* | Update to new RSpec module namesHenare Degan2012-12-12-1/+1
* | safe_mock_model doesn't seem to be needed, also tested in Ruby 1.9Henare Degan2012-12-12-12/+12
* | The with_locale has been removed in Globalize3Henare Degan2012-12-11-3/+3
* | Switch to new method nameHenare Degan2012-12-11-3/+3
|/
* Convert url in comment to spec.Louise Crow2012-12-06-0/+8
* Rename _get_attachment_text_internal_one_file to get_attachment_text_one_file...Louise Crow2012-12-06-2/+2
* Move methods for getting the text out of attachments to the mail handler module.Louise Crow2012-12-06-24/+3
* Add spec for handling an RFC822 attachment.Louise Crow2012-12-04-0/+18
* Add spec for the adding of headers to plain text bodies in attachments.Louise Crow2012-12-04-0/+13
* Rewrite and move spec so that it tests the mail handler method.Louise Crow2012-12-04-5/+0
* Rewrite spec to reflect delegation of low-level mail methods to mail handler,...Louise Crow2012-12-04-23/+14
* Standardize slug generation for external users so that it uses the same under...Louise Crow2012-11-29-0/+16
* Use new function that copies existing xapian index in spec setup where a clea...Louise Crow2012-11-21-11/+11
* Wrap address parsing in a address_from_string method in the mail handler.Louise Crow2012-11-15-6/+41
* Move address_from_name_and_email to mail handler.Louise Crow2012-11-15-1/+1
* Use mail handler in request mailer spec.Louise Crow2012-11-15-1/+1
* Move TMail extensions to mail handler.Louise Crow2012-11-15-0/+20
* Don't load raw emails data in specs that don't use it.Louise Crow2012-11-15-18/+0
* Factor out method for getting a mail object from a fixture file.Louise Crow2012-11-15-10/+7
* Use mailhandler method in incoming message specs.Louise Crow2012-11-15-10/+5
* Make error message expectation slightly less specific - message format is sli...Louise Crow2012-11-08-2/+4
* use safe_mock_modelJames McKinney2012-11-01-6/+6
* Restore removed testing config param, remove spec for unset param - I think n...Louise Crow2012-10-25-9/+0
* Given that MAX_REQUESTS_PER_USER_PER_DAY is documented as an optional variabl...Louise Crow2012-10-25-49/+58
* Merge remote-tracking branch 'openaustralia_github/follow-all-requests-descri...Louise Crow2012-10-25-4/+5
|\
| * Fix description of a searchHenare Degan2012-10-18-1/+2
| * Make test a bit more RubyesqueHenare Degan2012-10-18-4/+4
* | Merge branch 'feature/ruby-19-compat-immediate' into developLouise Crow2012-10-24-0/+17
|\ \ | |/ |/|
| * Convert example in comment to failing spec, update regex to make spec pass - ...Louise Crow2012-10-18-0/+9
| * Convert request cited in comment to failing spec, update regex to make it pas...Louise Crow2012-10-18-0/+8
* | Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ...Louise Crow2012-10-12-0/+166
|\ \ | |/ |/|
| * Revert "Also allow arbitrary subdomain on email addresses picked up in the logs"Matthew Landauer2012-10-12-5/+0