aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/info_request_event_spec.rb
Commit message (Collapse)AuthorAgeLines
* InfoRequestEvent.indexed_by_search consults OutgoingMessage.Louise Crow2013-09-16-1/+18
|
* Don't index hidden and requester_only incoming messages.Louise Crow2013-09-16-0/+41
|
* Re-annotate models with database fieldsLouise Crow2013-09-16-0/+17
|
* Parse the 'to' address as if on a real mail to trigger quoted string encoding.Louise Crow2013-06-03-0/+8
|
* The run_callbacks API has changedHenare Degan2012-12-12-1/+1
| | | | https://rails.lighthouseapp.com/projects/8994/tickets/5472-unable-to-manually-run-activerecord-object-callbacks
* Wrap address parsing in a address_from_string method in the mail handler.Louise Crow2012-11-15-6/+41
|
* Load all fixtures for all testsRobin Houston2012-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 testingRobin Houston2012-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.
* Improve test isolationRobin Houston2012-01-22-1/+2
| | | | This test was failing if run after, for example, general_controller_spec.rb.
* Always show the right search snippet. Fixes #352.Seb Bacon2012-01-19-0/+7
|
* Changes to make normal search pages not necessarily load info_request_events ↵Seb Bacon2012-01-12-1/+4
| | | | every time
* Further improvements to attachment cachingSeb Bacon2011-12-13-0/+5
|
* add ability to rebuild specific terms rather than all indices -- useful for ↵Seb Bacon2011-12-05-0/+20
| | | | migrations where new terms have been added (see rake:xapian:rebuild_index help)
* Running the callbacks more specific than calling save! here and avoids ↵Louise Crow2011-02-23-14/+14
| | | | having to handle foreign key references
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Add is_incoming_message?/is_outgoing_message?/is_comment? so we can justtony2009-04-23-0/+25
| | | | ask "event.is_incoming_message?" instead of "!event.incoming_message.nil?"
* Allowing xapian reindexing to be skipped if a no_xapian_reindex flag is set ↵louise2009-04-14-8/+23
| | | | on the model
* Add missing model tests.francis2008-03-21-0/+14