Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Cast mail.body to string before matching with a regex | Matthew Landauer | 2013-01-31 | -1/+1 |
| | ||||
* | Disable routing filter in tests by using RoutingFilter.active rather than ↵ | Matthew Landauer | 2013-01-25 | -3/+2 |
| | | | | writing to ActionController::Routing::Routes.filters | |||
* | integrate_views is render_views RSpec 2 | Henare Degan | 2012-12-11 | -4/+4 |
| | ||||
* | Use new function that copies existing xapian index in spec setup where a ↵ | Louise Crow | 2012-11-21 | -7/+7 |
| | | | | clean copy of the xapian index with fixtures loaded is required. | |||
* | Fail with NotFound if request slug doesn't exist | Robin Houston | 2012-08-20 | -1/+14 |
| | | | | Closes #554. | |||
* | Fix tests that broke as result of new flag to control if email alerts should ↵ | Seb Bacon | 2012-05-30 | -0/+2 |
| | | | | be sent | |||
* | Redirect people to more user-friendly search results page (where possible) ↵ | Seb Bacon | 2012-05-11 | -2/+10 |
| | | | | after they've "followed" search results. Fixes #487 | |||
* | Filter public body tracks by event type | Robin Houston | 2012-05-03 | -0/+29 |
| | | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent. | |||
* | Merge jpmckinney/bundler | Seb Bacon | 2012-02-15 | -2/+0 |
| | ||||
* | Return 404 for /feed/user/no_such_user | Robin Houston | 2012-02-03 | -0/+5 |
| | | | | Fixes #407. | |||
* | Eliminate trailing spaces in test names | Robin Houston | 2012-02-03 | -1/+1 |
| | | | | Really, what was that about? | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -3/+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 | -3/+3 |
| | | | | | | | | | | | 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. | |||
* | Be sure to restore RoutingFilters | Robin Houston | 2012-01-20 | -1/+6 |
| | | | | | | There were some order-dependent test failures that turned out to be caused by the fact that the RoutingFilters were cleared and not subsequently restored, by some tests. | |||
* | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -1/+1 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | call #first on from_addrs and to_addrs before calling #to_s | James McKinney | 2011-10-16 | -1/+1 |
| | | ||||
* | | allow specs to run independently | James McKinney | 2011-10-16 | -3/+3 |
|/ | ||||
* | fix fixtures order to avoid postgresql foreign key errors | James McKinney | 2011-10-11 | -3/+3 |
| | ||||
* | Merge branch 'wdtk' into develop | Robin Houston | 2011-09-08 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb | |||
| * | yet another missing fixture declaration! | Robin Houston | 2011-09-08 | -1/+1 |
| | | ||||
* | | Remove hardcoded site name from test | David Cabo | 2011-09-03 | -1/+1 |
| | | ||||
* | | Store user's locale against profile, so we can send them localised track ↵ | Seb Bacon | 2011-09-03 | -1/+14 |
|/ | | | | emails. Also internationalize more strings at the same time. Fixes #163. | |||
* | Fix up missing fixtures (causing failures dependent on order the tests were ↵ | Seb Bacon | 2011-08-10 | -8/+6 |
| | | | | funr). Also tidy up raw_email setup code to match everywhere. | |||
* | To make tests pass with RawEmails on the filesystem, instead of hacky ↵ | Seb Bacon | 2011-07-29 | -0/+5 |
| | | | | 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. | |||
* | changes to get tests to pass with IZ fork and new routing-filter gem | Seb Bacon | 2011-07-11 | -0/+2 |
| | ||||
* | 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. | |||
* | further test fixage | Seb Bacon | 2011-04-01 | -2/+2 |
| | ||||
* | Reindexing xapian before running track alert spec | Louise Crow | 2011-03-10 | -2/+2 |
| | ||||
* | Mock a few more things so that we're not actually saving to the db. | Louise Crow | 2011-02-23 | -12/+18 |
| | ||||
* | Reindexing xapian before running track alert spec | Louise Crow | 2011-02-17 | -0/+4 |
| | ||||
* | Show more appropriate info about users/bodies everywhere in JSON. | Francis Irving | 2010-10-20 | -9/+9 |
| | ||||
* | Test for JSON version of atom feeds. | Francis Irving | 2010-10-18 | -1/+46 |
| | ||||
* | Make path work in Ruby 1.9 | Francis Irving | 2010-09-15 | -1/+1 |
| | ||||
* | Need to set time now in test. | Francis Irving | 2010-06-09 | -1/+12 |
| | ||||
* | Make comment clearer | Francis Irving | 2010-06-09 | -2/+3 |
| | ||||
* | Use mocks instead of fixtures | tony | 2009-03-19 | -5/+5 |
| | ||||
* | Set up test info request and user beforehand | tony | 2009-03-19 | -4/+9 |
| | ||||
* | We don't care what actual count is, just that it's increased by one | tony | 2009-03-19 | -2/+2 |
| | ||||
* | Make it redirect to email subscription # reference in user page when you | francis | 2009-03-17 | -1/+8 |
| | | | | click unsubscribe link in email. | |||
* | It didn't seem to rebuild unless I put it in begin like this. | francis | 2009-03-16 | -1/+5 |
| | ||||
* | Call rebuild_xapian_index in more tests to reduce order dependency | tony | 2009-03-13 | -1/+2 |
| | ||||
* | Fix up test code, and some bugs relating to splitting out raw_email data. | francis | 2008-09-22 | -3/+3 |
| | ||||
* | Fix bug in call to sort_by_ascending (boolean || true is always true!) in ↵ | francis | 2008-09-12 | -3/+3 |
| | | | | | | acts_as_xapian Alter WDTK code to use correct meaning of ascending in Xapian. | |||
* | Fixture for comments, and fix most tests relating to it. | francis | 2008-08-15 | -5/+6 |
| | ||||
* | Basic test of RSS feed | francis | 2008-08-09 | -0/+19 |
| | ||||
* | Fix up test code now we only have email tracks. | francis | 2008-08-09 | -17/+2 |
| | ||||
* | RSS feeds without tracking (just underlying code, not linked from anywhere yet) | francis | 2008-07-18 | -4/+4 |
| | ||||
* | Remove escaping of HTML from text alert emails. | francis | 2008-05-27 | -0/+2 |
| | ||||
* | Highlight search terms in emails. | francis | 2008-05-16 | -2/+2 |
| | ||||
* | Spec change | francis | 2008-04-09 | -1/+1 |
| |