Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add a test that exposes a problem we have with renaming attributes | Henare Degan | 2013-02-07 | -0/+8 |
| | ||||
* | Set locale with I18n rather than through globalize | Matthew Landauer | 2013-01-17 | -3/+3 |
| | ||||
* | Extract method | Matthew Landauer | 2012-09-27 | -1/+1 |
| | ||||
* | Add option to override all public body request emails | Matthew Landauer | 2012-09-27 | -0/+8 |
| | ||||
* | Memoize the notes_without_html calculated value for the life of the model ↵ | Louise Crow | 2012-09-12 | -0/+14 |
| | | | | instance - no need to keep applying the regex if called multiple times e.g. in a view. | |||
* | Quote name correctly in query. Fixes #598. | Louise Crow | 2012-09-04 | -0/+4 |
| | ||||
* | Update references to point to the mySociety repo. | Louise Crow | 2012-08-29 | -32/+32 |
| | ||||
* | Don't add http when https is present | Henare Degan | 2012-02-17 | -0/+6 |
| | ||||
* | Don't add extra www characters to web addresses that have been explicitly ↵ | Henare Degan | 2012-02-16 | -1/+1 |
| | | | | defined | |||
* | Make public authority home page links work. Fixes #271 | Henare Degan | 2012-02-16 | -0/+6 |
| | ||||
* | Add some tests for the public body home page calculation | Henare Degan | 2012-02-16 | -0/+22 |
| | ||||
* | 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. | |||
* | Remove stray puts in test code | Robin Houston | 2012-01-27 | -1/+0 |
| | | | | | This was added for temporary debugging purposes, and ought to have been removed. | |||
* | Refactor test code so new test data can be added | Robin Houston | 2012-01-26 | -22/+22 |
| | | | | | | | | Previously many of the tests made assumptions about the global structure of the test data set: the total number of requests, for example, or the names of all public bodies. This makes it difficult to add to the test data. This change is intended to make the test data easier to extend by eliminating such global assumptions. | |||
* | Always create a the Internal Admin Authority using the default locale. ↵ | Seb Bacon | 2011-12-02 | -0/+12 |
| | | | | Fixes #303. | |||
* | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -12/+12 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | sort hash keys consistently in Ruby 1.8 and 1.9 | James McKinney | 2011-10-17 | -12/+12 |
| | | ||||
* | | allow specs to run independently | James McKinney | 2011-10-16 | -2/+2 |
|/ | ||||
* | Check against default locale more robustly when importing public bodies. ↵ | David Cabo | 2011-09-24 | -1/+4 |
| | | | | Fixes #193 | |||
* | Add test for issues #191 and #192, and fix existing ones | David Cabo | 2011-09-24 | -18/+28 |
| | ||||
* | Add support for add/replace tags when importing public bodies from CSV. ↵ | David Cabo | 2011-09-19 | -24/+46 |
| | | | | Fixes #60 | |||
* | Add support for tags to CSV import, via field "tag_string" (issue #60) | David Cabo | 2011-09-13 | -6/+26 |
| | ||||
* | Make tag optional when importing public bodies through CSV (issue #60) | David Cabo | 2011-09-13 | -0/+22 |
| | ||||
* | Extend CSV import to support additional fields (short name, home page...) | David Cabo | 2011-08-23 | -20/+29 |
| | ||||
* | Don't fail if a body has the same url_name in several locales (closes #139) | David Cabo | 2011-08-16 | -0/+14 |
| | ||||
* | make CSV import test deterministic by sorting results | David Cabo | 2011-08-12 | -1/+1 |
| | ||||
* | Create public bodies in multiple locales when importing from CSV | David Cabo | 2011-08-11 | -6/+42 |
| | ||||
* | Handle optional field list on CSV import, needed for enabling multiple locales | David Cabo | 2011-08-11 | -0/+13 |
| | ||||
* | Test that PublicBody.first_letter is correctly set on save | Robin Houston | 2011-06-15 | -1/+13 |
| | ||||
* | Make sure the :public_body_translation fixture is included everywhere the ↵ | Robin Houston | 2011-06-09 | -2/+2 |
| | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it. | |||
* | Tests for find_by_tag | Francis Irving | 2010-09-29 | -0/+21 |
| | ||||
* | Make path work in Ruby 1.9 | Francis Irving | 2010-09-15 | -1/+1 |
| | ||||
* | Allow multiple keys the same | Francis Irving | 2010-08-04 | -4/+12 |
| | ||||
* | Remove charity number field | Francis Irving | 2010-07-27 | -0/+8 |
| | ||||
* | Initial support for machine tags | Francis Irving | 2010-07-26 | -0/+26 |
| | ||||
* | Make test work even when not explicitly saving | Francis Irving | 2010-07-26 | -2/+3 |
| | ||||
* | Another test. | Francis Irving | 2010-07-26 | -0/+5 |
| | ||||
* | Tests for normal tags. | Francis Irving | 2010-07-26 | -1/+47 |
| | ||||
* | Basic test of loading CSV into model | Francis Irving | 2009-12-17 | -0/+32 |
| | ||||
* | Some more URL name/title tests. | francis | 2009-09-07 | -0/+16 |
| | ||||
* | Change name of historic URL finding function. | francis | 2009-06-16 | -3/+22 |
| | | | | Make it remove duplicates - so if finds same short name multiple times in history of one body, it returns that body. | |||
* | Need history loaded in fixture in order to find by it. | francis | 2009-03-30 | -1/+1 |
| | ||||
* | Move Xapian tests into one file so they don't slow down normal model | tony | 2009-03-22 | -21/+0 |
| | | | | tests. Add test for searching users. | |||
* | rspec provides a useful errors_on test | tony | 2009-03-22 | -4/+5 |
| | ||||
* | Rollback 14514 and 14515 - model can't call methods in general_controller | tony | 2009-03-22 | -8/+1 |
| | ||||
* | Add 'xapian_requests' methods to PublicBody | tony | 2009-03-22 | -3/+8 |
| | ||||
* | Add PublicBody.find_by_urlname method that falls back to historic names | tony | 2009-03-22 | -0/+21 |
| | ||||
* | Only rebuild the Xapian index once, rather than for each test, as we're | tony | 2009-03-22 | -2/+1 |
| | | | | not modifying the index between them. | |||
* | Index the notes field. | francis | 2009-03-18 | -0/+22 |
| | ||||
* | Remove complaint_email field as we were never filling it in or using it. ↵ | francis | 2008-03-17 | -12/+0 |
| | | | | There are more important things. |