Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix failing test added in ad141d7 | Henare Degan | 2012-10-04 | -1/+1 |
| | ||||
* | Refactor tests | Henare Degan | 2012-10-04 | -18/+16 |
| | ||||
* | Add failing test for when ADMIN_BASE_URL is set | Henare Degan | 2012-10-04 | -0/+17 |
| | ||||
* | Requires admin attention emails should include a full URL to the admin page ↵ | Henare Degan | 2012-10-03 | -0/+15 |
| | | | | of the request so you can click it, not just a relative path | |||
* | Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵ | Louise Crow | 2012-10-01 | -4/+4 |
|\ | | | | | | | | | | | | | into develop Conflicts: config/general.yml-example | |||
| * | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -4/+4 |
| | | ||||
* | | Test for the presence of the explanatory text as well when checking the ↵ | Louise Crow | 2012-09-25 | -1/+4 |
|/ | | | | response to an email to a fully closed request. | |||
* | Ignore spacing differences when checking generated SQL, use caps for SQL ↵ | Louise Crow | 2012-09-11 | -9/+24 |
| | | | | reserved words. | |||
* | Fix another test | Robin Houston | 2012-08-20 | -1/+1 |
| | | | | | | | | | | | Is there actually any point in tests of this sort? It is not testing that anything works as intended, only that a particular SQL string is passed to the database -- and surely the only way that string could have been discovered for test purposes was essentially to copy it from the code under test. It seems to me that the only real function of a test of this sort is to make it more difficult to modify the code under test. | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -1/+0 |
| | | | | | | | | | The ad hoc specification of fixtures has been an ongoing source of bugs in the tests. The straw that broke the camel’s back is that 7c6eb09 requires the fixtures to be loaded in order (i.e. children before their parents), and it would have been a painful process to reorder all the dozens of different fixture lists, but the test system ought to be more reliable this way. | |||
* | Load all raw emails for testing | Robin Houston | 2012-01-29 | -1/+1 |
| | | | | | | | | | | | Previously there was just one raw email, and the test code relied on that fact. Generalise it to handle multiple raw emails. This change causes a number of tests to fail, because it exposes failures that should have happened when the second raw email was added but were masked by the fact that the text of this second raw email was never loaded. These failures will be fixed in the next commit. | |||
* | A couple more test isolation failures | Robin Houston | 2012-01-24 | -0/+1 |
| | | | | Towards #361 | |||
* | allow specs to run independently | James McKinney | 2011-10-16 | -1/+1 |
| | ||||
* | Log the reason why an incoming mail is routed to the holding pen, and ↵ | Seb Bacon | 2011-08-03 | -0/+44 |
| | | | | display it to administrators. Closes #107. | |||
* | To make tests pass with RawEmails on the filesystem, instead of hacky ↵ | Seb Bacon | 2011-07-29 | -0/+3 |
| | | | | dependency on existence of text_binary field in raw_emails model, rewrite tests (and their fixtures) to explicitly load data from FS when raw_emails are used. | |||
* | Make sure the :public_body_translation fixture is included everywhere the ↵ | Robin Houston | 2011-06-09 | -1/+1 |
| | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it. | |||
* | Mock a few more things now foreign key constraints are being enforced in the ↵ | Louise Crow | 2011-02-23 | -49/+54 |
| | | | | test environment | |||
* | Make path work in Ruby 1.9 | Francis Irving | 2010-09-15 | -1/+1 |
| | ||||
* | Change 'rejected' to 'refused', as used in the law | Francis Irving | 2010-06-16 | -2/+2 |
| | ||||
* | Only change email address when they confirm the email, so there is no | Francis Irving | 2010-03-10 | -1/+1 |
| | | | | security leak that someone is registered with an email | |||
* | So fixtures and deliveries are right when run in alphabetical order. | Francis Irving | 2009-10-29 | -1/+0 |
| | ||||
* | Remove debugging. | francis | 2009-10-04 | -1/+1 |
| | ||||
* | Move the actual messages sent to authorities into a separate mailer model ↵ | francis | 2009-10-04 | -66/+0 |
| | | | | class (so can give them different layout, but is nice anyhow) | |||
* | Change formatting of outgoing emails. | francis | 2009-10-04 | -1/+2 |
| | ||||
* | Clear deliveries before running test to make sure test is self-contained | louise | 2009-07-09 | -0/+1 |
| | ||||
* | Fix bug with bouncing messages. | francis | 2009-06-15 | -0/+7 |
| | ||||
* | Whoops, didn't work with name part in from address. | francis | 2009-06-15 | -1/+1 |
| | ||||
* | Fancier options for stopping new responses to requests. | francis | 2009-06-15 | -2/+79 |
| | ||||
* | Provide more explanation to users when someone else updates their | tony | 2009-05-14 | -3/+8 |
| | | | | request status. | |||
* | Added method for sending email to requester when someone has updated an old ↵ | louise | 2009-04-14 | -4/+25 |
| | | | | unclassified request | |||
* | Reminders sent to users to update the status of their request now use ↵ | louise | 2009-04-08 | -2/+2 |
| | | | | InfoRequest.find_old_unclassified | |||
* | Adding specs for current behaviour of RequestMailer when sending out ↵ | louise | 2009-04-08 | -1/+79 |
| | | | | reminders to requesters to classify a response to their request | |||
* | TMail rebuilds address when constructing emails. Move our more | francis | 2009-04-08 | -2/+2 |
| | | | | | | aggressive quoting rule into a TMail monkey patch proper so it is always called when constructing emails, and remove the hacky function (Address.encode_quoted_string) it used to call in special places | |||
* | Tests for use of different addresses in replies. | francis | 2009-04-08 | -16/+51 |
| | | | | | Fix bug in quoting of those replies. Make it remove @ signs from name part of them. | |||
* | Start to add test for the mail reply address functions. | francis | 2009-04-07 | -1/+31 |
| | ||||
* | Make link on first response arrived email not be login one, as people ↵ | francis | 2008-11-10 | -0/+1 |
| | | | | | | | forward it about. Make link on later ones go straight to top green box. Give ids to the green boxes. | |||
* | Fix up test code, and some bugs relating to splitting out raw_email data. | francis | 2008-09-22 | -1/+1 |
| | ||||
* | Store incoming messages which aren't to a valid request in a holding pen, and | francis | 2008-07-08 | -1/+8 |
| | | | | let people move them from admin interface. | |||
* | Option to stop new respones for individual requests which for whatever reason | francis | 2008-05-19 | -1/+22 |
| | | | | are getting spam. | |||
* | Store incoming and outgoing message id in the table for info request events, ↵ | francis | 2008-04-15 | -0/+1 |
| | | | | so has proper foreign key. | |||
* | More tests stuff | francis | 2008-04-14 | -1/+0 |
| | ||||
* | Stop the wrapping code breaking up long URLs | francis | 2008-04-14 | -0/+12 |
| | ||||
* | Get incoming email test working. | francis | 2007-12-13 | -1/+1 |
| | ||||
* | Word wrap emails. | francis | 2007-12-12 | -1/+2 |
| | | | | Fix user id references in test code. | |||
* | Model for storing category of response (contains information, rejection etc.) | francis | 2007-11-14 | -3/+3 |
| | ||||
* | If there is no FOI request for incoming email to go to, then (for now) instead | francis | 2007-11-13 | -1/+10 |
| | | | | forward a copy to the administrators. | |||
* | Test incoming request response emails. | francis | 2007-11-13 | -1/+13 |
| | ||||
* | Stub specs. | francis | 2007-10-31 | -0/+8 |