aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeLines
* Test that PublicBody.first_letter is correctly set on saveRobin Houston2011-06-15-1/+13
|
* merge WTDK changes to master (preparation for closing WTDK branch and ↵Seb Bacon2011-06-14-6/+5
|\ | | | | | | deploying WTDK website straight from master)
| * Move the non-fixture files in spec/fixtures to their own subdirectory,Robin Houston2011-06-10-6/+5
| | | | | | | | | | so that we can run rake spec:db:fixtures:load without it choking on the files that aren't fixtures.
| * Don't store passwords in post_params.Louise Crow2011-05-16-2/+2
| |
* | Make sure the template rendering happens within the scope ofSeb Bacon2011-06-13-0/+7
| | | | | | | | | | with_locale, so it's rendered using the correct locale. (+ test for this)
* | Make sure the :public_body_translation fixture is included everywhere the ↵Robin Houston2011-06-09-31/+31
| | | | | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it.
* | Don't store passwords in post_params.Louise Crow2011-05-16-2/+1
| |
* | Adding missing fixture.Louise Crow2011-04-07-7/+6
| |
* | Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-04-01-0/+33
|\|
| * Monkeypatching TMail parser to fix case where multiple addresses in the to: ↵Louise Crow2011-03-28-0/+33
| | | | | | | | field of an incoming email have unquoted display parts - with this patch, each address is returned by the TMail to() function, without it only the last one is returned.
* | further test fixageSeb Bacon2011-04-01-4/+8
| |
* | some test fixageSeb Bacon2011-03-11-8/+10
| |
* | new i18n tests for controllers and associated fixesSeb Bacon2011-03-10-7/+81
| |
* | Reindexing xapian before running track alert specLouise Crow2011-03-10-2/+2
| |
* | further i18n of public bodies; start to fix testsSeb Bacon2011-03-10-0/+43
|/
* merge from master (post-CSRF changes)Seb Bacon2011-03-09-141/+180
|\
| * Check that full error message is being displayed without interpolated ↵Louise Crow2011-02-24-1/+1
| | | | | | | | attribute name.
| * Changing expected sender from list to string when string is passed to STMP - ↵Louise Crow2011-02-23-1/+1
| | | | | | | | presumably a small change in the way this is handled by action mailer.
| * Clear deliveries array after running spec.Louise Crow2011-02-23-0/+1
| |
| * Mock a few more things so that we're not actually saving to the db.Louise Crow2011-02-23-12/+18
| |
| * Running the callbacks more specific than calling save! here and avoids ↵Louise Crow2011-02-23-14/+14
| | | | | | | | having to handle foreign key references
| * Mock a few more things now foreign key constraints are being enforced in the ↵Louise Crow2011-02-23-49/+54
| | | | | | | | test environment
| * Mock out a few more things now foreign key constraints are being enforced in ↵Louise Crow2011-02-23-39/+50
| | | | | | | | the test environment.
| * Use destroy rather than delete to remove the public body in this xapian ↵Louise Crow2011-02-23-2/+2
| | | | | | | | test. Now that we're using a sql schema format to populate the test database, it creates foreign keys and so on correctly, so a delete, which tries to delete the object without calling any callbacks, fails with a foreign key error as acts_as_versioned means there are still foreign keys to this record from its versions.
| * Adding required info_request_event fixture.Louise Crow2011-02-23-1/+1
| |
| * Adding spec conf files.Louise Crow2011-02-23-8/+38
| |
| * Not using fcgi - get rid of monkey patchesEdmund von der Burg2011-02-18-14/+0
| |
* | ensure tests run with test environmentSeb Bacon2011-02-25-0/+1
|/
* Reindexing xapian before running track alert specLouise Crow2011-02-17-0/+4
|
* Rebuild xapian index after fixture loadingLouise Crow2011-02-17-24/+37
|
* install fixture necessary for test to pass (not sure how this worked ↵Seb Bacon2010-12-30-2/+2
| | | | previously...)
* Fix a bunch of broken links (thanks Alex)Francis Irving2010-10-27-1/+1
|
* Show more appropriate info about users/bodies everywhere in JSON.Francis Irving2010-10-20-9/+9
|
* Return more info in request JSON response.Francis Irving2010-10-20-3/+3
|
* Add tag_string to tests.Francis Irving2010-10-18-6/+6
|
* Test for JSON version of atom feeds.Francis Irving2010-10-18-1/+46
|
* Test for users.Francis Irving2010-10-18-0/+21
|
* Remove unnecessary integrate viewsFrancis Irving2010-10-18-3/+1
|
* Test for JSON of public bodyFrancis Irving2010-10-18-0/+19
|
* Add test for JSON requestsFrancis Irving2010-10-18-0/+19
|
* Index tags on public bodies.Francis Irving2010-10-09-0/+24
|
* Index tags on info requests.Francis Irving2010-10-09-0/+19
|
* Fix URLFrancis Irving2010-10-04-1/+1
|
* Merge branch 'master' of ↵Louise Crow2010-10-01-14/+36
|\ | | | | | | ssh://louise@git.mysociety.org/data/git/public/whatdotheyknow
| * Tests for find_by_tagFrancis Irving2010-09-29-0/+21
| |
| * Fix test of HasTagStringTagFrancis Irving2010-09-29-3/+4
| |
| * Factor out model of public body tags into generic tag string modelFrancis Irving2010-09-29-1/+1
| |
* | Moved tests for commonlib/rblib functions to commonlib/rblib/tests. Added ↵Louise Crow2010-10-01-100/+0
|/ | | | that as a dependency for rake spec.
* Make path work in Ruby 1.9Francis Irving2010-09-15-43/+43
|
* Mock views for new syntax of calling searchFrancis Irving2010-09-14-1/+5
|