Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -4/+3 |
| | ||||
* | Clearer formatting of global fixtures list. | Louise Crow | 2012-08-22 | -7/+21 |
| | ||||
* | Misc fixes to get tests to pass - notably a MonkeyPatch to work around ↵ | Seb Bacon | 2012-07-13 | -0/+13 |
| | | | | problem testing template results | |||
* | Use PO files from `spec/fixtures/locale` rather than the application - makes ↵ | Seb Bacon | 2012-06-14 | -0/+4 |
| | | | | it less brittle. | |||
* | More changes and refactoring to make purges work. | Seb Bacon | 2012-04-20 | -1/+1 |
| | ||||
* | Merge branch 'develop' into purge-requests | Seb Bacon | 2012-04-19 | -1/+1 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | use Rails.root, not RAILS_ROOT | James McKinney | 2012-04-02 | -1/+1 |
| | | ||||
* | | first stab at sending PURGE requests to upstream varnish for request pages. ↵ | Seb Bacon | 2012-03-13 | -0/+3 |
|/ | | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job. | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -0/+1 |
| | | | | | | | | | 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. | |||
* | Make better wording at the top of the page listing subsets of public bodies. ↵ | Seb Bacon | 2012-01-30 | -0/+8 |
| | | | | At the same time, cause the tests not to rely on WDTK data. Fixes #396 | |||
* | Load all raw emails for testing | Robin Houston | 2012-01-29 | -7/+7 |
| | | | | | | | | | | | 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. | |||
* | Fix more test breakage | Seb Bacon | 2012-01-18 | -2/+5 |
| | ||||
* | Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5 | Seb Bacon | 2012-01-18 | -3/+11 |
|\ | ||||
| * | Flexible location for validate utility | Robin Houston | 2012-01-17 | -3/+11 |
| | | | | | | | | | | Allow the WDG HTML validation utility "validate" to be anywhere in UTILITY_SEARCH_PATH, rather than hard-coding /usr/bin. | |||
* | | Fix paging bug for type ahead search. This wasn't caught because the spec ↵ | Seb Bacon | 2012-01-18 | -0/+5 |
|/ | | | | didn't call "integrate_views", so the rendering part was mocked by RSpec instead of executed. | |||
* | Force rails_env always to be test. The previous setting caused me to drop ↵ | Seb Bacon | 2012-01-12 | -1/+1 |
| | | | | production databases by accident more than once.... | |||
* | Don't give error when viewing HTML versions. Fixes issue #321 | Seb Bacon | 2012-01-08 | -2/+2 |
| | ||||
* | Reduce excess flush operations (they're slooow) | Seb Bacon | 2012-01-06 | -1/+1 |
| | ||||
* | Further work in progress | Seb Bacon | 2012-01-06 | -1/+2 |
| | ||||
* | Further improvements to attachment caching | Seb Bacon | 2011-12-13 | -0/+5 |
| | ||||
* | add ability to rebuild specific terms rather than all indices -- useful for ↵ | Seb Bacon | 2011-12-05 | -2/+10 |
| | | | | migrations where new terms have been added (see rake:xapian:rebuild_index help) | |||
* | Merge branch 'develop' into xapian-dcabo | Seb Bacon | 2011-11-24 | -6/+11 |
|\ | | | | | | | | | Conflicts: spec/models/xapian_spec.rb | |||
| * | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -0/+8 |
| |\ | | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| | * | add safe_mock_model to safely handle #to_ary calls in 1.9 | James McKinney | 2011-10-17 | -0/+8 |
| | | | ||||
| * | | Merge pull request #275 from jpmckinney/independent-specs | Seb Bacon | 2011-11-22 | -6/+3 |
| |\ \ | | | | | | | | | Allow specs to run independently | |||
| | * | | allow specs to run independently | James McKinney | 2011-10-16 | -6/+3 |
| | |/ | ||||
* | | | Merge branch 'develop' into xapian-dcabo | seb | 2011-11-24 | -4/+4 |
|\| | | | | | | | | | | | | | | Conflicts: spec/models/xapian_spec.rb | |||
| * | | Username from users logged in as ADMIN_USERNAME should appear in ↵ | seb | 2011-11-21 | -1/+1 |
| |/ | | | | | | | administrative interface event logs. Fixes #287. | |||
| * | Respect admin password and username. Fixes #245. | Seb Bacon | 2011-09-30 | -3/+3 |
| | | ||||
| * | Fix indentation | Robin Houston | 2011-09-08 | -1/+1 |
| | | ||||
* | | Make Xapian index rebuilds run in-process (while running tests only!) for ↵ | David Cabo | 2011-08-19 | -5/+5 |
|/ | | | | | | performance reasons This was previously not supported by acts_as_xapian, since the update/rebuild process didnt unlock the database when finihed. The bindings for the latest Xapian bindings support closing the database, so we take advantage of that. | |||
* | To make tests pass with RawEmails on the filesystem, instead of hacky ↵ | Seb Bacon | 2011-07-29 | -18/+9 |
| | | | | 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. | |||
* | move load-email-fixtures-to-filesystem hack to global config, so that we ↵ | Seb Bacon | 2011-07-25 | -0/+16 |
| | | | | don't need to remember to run it everywhere that the raw_emails fixture is used. At the same time, correct the migration that previously removed the data_binary column, as this is assumed for fixture loading. In a future iteration, we should probably stop abusing fixtures like this... | |||
* | Store raw_emails in the filesystem, not in the database. They don't need to ↵ | Seb Bacon | 2011-07-22 | -0/+4 |
| | | | | | | be in the database (we never write to them, for example), and they bloat it unecessarily, making backups etc difficult. NOTE: this migration could take a *very* long time. | |||
* | override config for tests | Seb Bacon | 2011-07-12 | -0/+3 |
| | ||||
* | changes to get tests to pass with IZ fork and new routing-filter gem | Seb Bacon | 2011-07-11 | -6/+0 |
| | ||||
* | fix up basic auth for admin settings: get credentials from config, cause ↵ | Seb Bacon | 2011-07-06 | -2/+7 |
| | | | | default (where no config) to skip authorization completely, add tests for these | |||
* | When testing, don't HTML-validate Unauthorized responses | Seb Bacon | 2011-07-06 | -1/+7 |
| | ||||
* | merge WTDK changes to master (preparation for closing WTDK branch and ↵ | Seb Bacon | 2011-06-14 | -2/+2 |
|\ | | | | | | | deploying WTDK website straight from master) | |||
| * | Move the non-fixture files in spec/fixtures to their own subdirectory, | Robin Houston | 2011-06-10 | -2/+2 |
| | | | | | | | | | | so that we can run rake spec:db:fixtures:load without it choking on the files that aren't fixtures. | |||
* | | some test fixage | Seb Bacon | 2011-03-11 | -4/+6 |
|/ | ||||
* | merge from master (post-CSRF changes) | Seb Bacon | 2011-03-09 | -7/+37 |
|\ | ||||
| * | Adding spec conf files. | Louise Crow | 2011-02-23 | -7/+37 |
| | | ||||
* | | ensure tests run with test environment | Seb Bacon | 2011-02-25 | -0/+1 |
|/ | ||||
* | Get picture posting to work | Francis Irving | 2010-07-14 | -1/+5 |
| | ||||
* | Test code for FOI officer upload | Francis Irving | 2010-03-03 | -1/+1 |
| | ||||
* | Test case for search where a user name is substring of another | Francis Irving | 2009-12-07 | -2/+5 |
| | ||||
* | Function to call Xapian index update. | Francis Irving | 2009-12-07 | -0/+5 |
| | ||||
* | Remove clause seemingly not needed in new Rails | Francis Irving | 2009-12-03 | -2/+2 |
| | ||||
* | Changing rspec / rspec_on_rails version | Francis Irving | 2009-12-02 | -2/+2 |
| |