aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/public_body_spec.rb
Commit message (Collapse)AuthorAgeLines
* Tests for find_by_tagFrancis Irving2010-09-29-0/+21
|
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Allow multiple keys the sameFrancis Irving2010-08-04-4/+12
|
* Remove charity number fieldFrancis Irving2010-07-27-0/+8
|
* Initial support for machine tagsFrancis Irving2010-07-26-0/+26
|
* Make test work even when not explicitly savingFrancis Irving2010-07-26-2/+3
|
* Another test.Francis Irving2010-07-26-0/+5
|
* Tests for normal tags.Francis Irving2010-07-26-1/+47
|
* Basic test of loading CSV into modelFrancis Irving2009-12-17-0/+32
|
* Some more URL name/title tests.francis2009-09-07-0/+16
|
* Change name of historic URL finding function.francis2009-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.francis2009-03-30-1/+1
|
* Move Xapian tests into one file so they don't slow down normal modeltony2009-03-22-21/+0
| | | | tests. Add test for searching users.
* rspec provides a useful errors_on testtony2009-03-22-4/+5
|
* Rollback 14514 and 14515 - model can't call methods in general_controllertony2009-03-22-8/+1
|
* Add 'xapian_requests' methods to PublicBodytony2009-03-22-3/+8
|
* Add PublicBody.find_by_urlname method that falls back to historic namestony2009-03-22-0/+21
|
* Only rebuild the Xapian index once, rather than for each test, as we'retony2009-03-22-2/+1
| | | | not modifying the index between them.
* Index the notes field.francis2009-03-18-0/+22
|
* Remove complaint_email field as we were never filling it in or using it. ↵francis2008-03-17-12/+0
| | | | There are more important things.
* Add NOT NULL constraints into the database everywherefrancis2008-01-24-0/+6
|
* Stub specs.francis2007-10-31-0/+38