aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
Commit message (Collapse)AuthorAgeLines
* Rename models and tables exim -> mail_serverMatthew Landauer2012-10-11-9/+9
|
* Add headings and by_heading accessors to PublicBodyCategories to allow ↵Louise Crow2012-08-28-0/+42
| | | | easier access to headings and to tags associated with a particular heading.
* Load all fixtures for all testsRobin Houston2012-01-31-1/+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.
* Improve test isolationRobin Houston2012-01-24-0/+1
| | | | Another brick in the wall (#361)
* Improve test isolationRobin Houston2012-01-12-0/+5
| | | | | I was seeing some test failures, apparently caused by inadequate test isolation. This change fixed them.
* Merge remote-tracking branch 'jpmckinney/pre1.9' into developSeb Bacon2011-11-24-0/+1
|\ | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb
| * add encoding magic comments and fix pathsJames McKinney2011-10-16-0/+1
| |
* | allow specs to run independentlyJames McKinney2011-10-16-1/+1
|/
* Extra tests to sanity check UTF conversion (see issue #128 for background)Seb Bacon2011-10-10-0/+9
|
* Move external_command.rb to commonlibRobin Houston2011-09-07-62/+0
|
* Internationalise the salution, making sure it's OK to miss out the public ↵Seb Bacon2011-08-15-0/+15
| | | | body name as they might in French. Fixes #134.
* Don't treat CSRF tokens as optional session data for administrators (they're ↵Seb Bacon2011-07-27-0/+8
| | | | | | needed to allow them to edit anything! Fixes #95 (Also change wording of test namess to match usual rspec convention)
* include "locale" in list of session data keys that are used to decide if a ↵Seb Bacon2011-07-27-0/+8
| | | | rails session cookie is redundant for the purposes of this request. Fixes #91
* Add FixMyTransport's strip_empty_sessions to not send a cookie if there's ↵Matthew Somerville2011-07-26-0/+55
| | | | nothing in the session.
* Add tests for the external_command library, and fix a bugRobin Houston2011-06-22-0/+62
| | | | | | | (which was actually a fairly late regression, showing the benefits of formal tests vs informal testing). I believe this bug was the cause of the recent Xapian indexing errors.
* Move the non-fixture files in spec/fixtures to their own subdirectory,Robin Houston2011-06-10-2/+1
| | | | | so that we can run rake spec:db:fixtures:load without it choking on the files that aren't fixtures.
* Monkeypatching TMail parser to fix case where multiple addresses in the to: ↵Louise Crow2011-03-28-0/+6
| | | | 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.
* 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.
* Not using fcgi - get rid of monkey patchesEdmund von der Burg2011-02-18-14/+0
|
* 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-6/+6
|
* Test code for mixed case detection. Update to new code for that from commonlib.Francis Irving2010-08-07-0/+21
|
* Some tests for mixed capitals detectionFrancis Irving2010-08-07-0/+26
|
* Correctly take delivery of mail in new testFrancis Irving2009-12-04-1/+13
|
* Make IO.popen mocking not break later calls to popenFrancis Irving2009-12-04-6/+10
|
* Make fix for return path when using sendmail have testFrancis Irving2009-12-04-0/+72
|
* Rename spec files to libs, and to end _specFrancis Irving2009-12-03-0/+168