aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeLines
* add a validate_as_body helper method for teststony2009-03-22-0/+12
|
* Extract validate_html so can be used elsewheretony2009-03-22-10/+14
|
* Rebuild in an :alltony2009-03-22-6/+2
|
* Move Xapian tests into one file so they don't slow down normal modeltony2009-03-22-21/+40
| | | | tests. Add test for searching users.
* Add admin + banned tests to Usertony2009-03-22-0/+18
|
* Test for specific errors in Usertony2009-03-22-3/+3
|
* Add some new TrackThing teststony2009-03-22-1/+21
|
* split into distinct named teststony2009-03-22-10/+11
|
* 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
|
* Tweak testtony2009-03-22-1/+7
|
* New view test for Bodytony2009-03-22-0/+71
|
* 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.
* test should be for single bodytony2009-03-21-1/+1
|
* View test for recent requeststony2009-03-20-0/+50
|
* Switch recent request test from fixtures to stubstony2009-03-20-16/+4
|
* Pre-set body/user in test (harmonisation step)tony2009-03-20-13/+18
|
* add test for not allowing a user to use an email address as their nametony2009-03-20-1/+8
|
* Test that banned user can't create new requesttony2009-03-19-2/+9
|
* add test for preventing new requests when old ones uncategorisedtony2009-03-19-0/+31
|
* Use mocks instead of fixturestony2009-03-19-5/+5
|
* Set up test info request and user beforehandtony2009-03-19-4/+9
|
* We don't care what actual count is, just that it's increased by onetony2009-03-19-2/+2
|
* Don't attempt to validate HTML if integrate_views isn't turned on (as it ↵tony2009-03-19-0/+3
| | | | won't work)
* update comment to reflect new location for rspec docstony2009-03-19-1/+1
|
* Don't need to roll our own messages now we can easily time travel.tony2009-03-19-52/+16
|
* Index the notes field.francis2009-03-18-1/+23
|
* Fixtures have to be set in every class that needs them, as they could be run ↵francis2009-03-18-1/+2
| | | | | | | in any order. It doesn't seem to clear database between tests - just overwrite the fixtures that are set, so making it work if it happened to have the right one before.
* Most put rebuild in begin, or else it just builds when the class loads.francis2009-03-18-1/+4
|
* Whoops, didn't remove slashes from subjects.francis2009-03-17-0/+11
|
* Fix bug with slashes in attachment filenamesfrancis2009-03-17-0/+11
|
* Make it redirect to email subscription # reference in user page when youfrancis2009-03-17-1/+8
| | | | click unsubscribe link in email.
* Can change time much more easily with RSpec's stubbingtony2009-03-17-10/+2
|
* Better days_overdue tests by overriding Time.nowtony2009-03-17-2/+20
|
* very basic days_overdue teststony2009-03-17-0/+2
|
* Add due date test for info_requesttony2009-03-16-0/+5
|
* Test that Time objects DTRTtony2009-03-16-0/+4
|
* It didn't seem to rebuild unless I put it in begin like this.francis2009-03-16-1/+5
|
* Call rebuild_xapian_index in more tests to reduce order dependencytony2009-03-13-6/+8
|
* Move due date counting code into Holiday classtony2009-03-10-36/+43
|
* Change the holiday checking code to use new model class, rather thantony2009-03-09-1/+1
| | | | hardcoded table of data.
* Move the initial holiday data to a fixture and load it in the migration,tony2009-03-09-0/+168
| | | | so that it works in test mode too.
* add some tests for InfoRequest.calculate_statustony2009-03-09-0/+40
|
* use have_tag() to narrow the test to the correct scopetony2009-03-09-3/+4
|
* Option to ban users.francis2009-03-09-0/+2
|
* Display "You" as username in comments you've made.tony2009-03-07-0/+19
|
* Blank out emails in outgoing messages. Hope I've got every case.francis2009-03-07-1/+20
|
* Factor out due_date_for_request_date (partially - it should really livetony2009-03-06-1/+34
| | | | elsewhere), and add more tests for it