aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_request_controller_spec.rb
Commit message (Collapse)AuthorAgeLines
* Make hide a RESTful action accessed via POSTLouise Crow2014-12-12-3/+3
|
* Make show_raw_email a RESTful action via GETLouise Crow2014-12-12-28/+0
| | | | | Move specs that involve receiving email and then viewing the interface to be integration specs, which is what they really are.
* Use RESTful routing for destroy actionLouise Crow2014-12-12-2/+2
|
* Use different flash for fully_destroy external InfoRequestGareth Rees2014-08-18-0/+6
| | | | Uses a different flash message to avoid trying to fetch a non existent user record
* Fix erroneous line break.Louise Crow2013-09-17-2/+1
|
* Add public criteria for message event access methodsLouise Crow2013-09-16-2/+3
| | | | | | | get_last_response_event and get_last_outgoing_event are used in various places to determine which events to link to, use in queries etc. Restrict them to refer to the last publicly visible event of the relevant type, and rename them to make that clear.
* Move incoming message admin to its own controller.Louise Crow2013-09-16-74/+0
| | | | | Make specs that depend on multiple controllers and models interacting integration specs.
* Move outgoing message admin actions to their own controller.Louise Crow2013-09-16-12/+0
| | | | Eventually this should use standard RESTful routing.
* Params are passed through as strings in Rails 3.1Henare Degan2013-03-03-1/+1
|
* Update to new mail sending APIHenare Degan2013-02-25-1/+1
|
* response.flash has been deprecatedHenare Degan2013-02-25-3/+3
|
* Find is now being called with an integer rather than a string. All goodMatthew Landauer2013-01-30-1/+1
|
* Replace use of have_text with contain from webrat or matchMatthew Landauer2013-01-29-2/+2
|
* Get rid of resetting of ActionController::Routing::Routes.filtersMatthew Landauer2013-01-04-10/+0
|
* integrate_views is render_views RSpec 2Henare Degan2012-12-11-2/+2
|
* Fix basic admin interface in case where external request without username is ↵Louise Crow2012-08-29-0/+5
| | | | being displayed.
* Allow external requests to be hidden from the admin interface.Louise Crow2012-08-22-0/+50
|
* Fix typo in comment.Louise Crow2012-08-16-18/+87
|
* Allow messages to be redelivered to more than one request. Closes #442Seb Bacon2012-05-29-0/+21
|
* Support easy hiding of requests for admins. Currently not exposed in core ↵Seb Bacon2012-05-25-0/+22
| | | | admin interface (requires adminbootstraptheme).
* Load all fixtures for all testsRobin Houston2012-01-31-2/+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.
* Load all raw emails for testingRobin Houston2012-01-29-2/+2
| | | | | | | | | | | Previously there was just one raw email, and the test code relied on that fact. Generalise it to handle multiple raw emails. This change causes a number of tests to fail, because it exposes failures that should have happened when the second raw email was added but were masked by the fact that the text of this second raw email was never loaded. These failures will be fixed in the next commit.
* Clear routing filters while tests are runningRobin Houston2012-01-20-0/+10
| | | | | | This fixes a test failure that would show up when running this spec in isolation -- but not necessarily when running all tests, depending on the order they run in.
* Improved test isolationRobin Houston2012-01-20-0/+4
| | | | | The test “AdminRequestController when administering requests shows a public body” would fail when this spec is run on its own twice in succession.
* allow specs to run independentlyJames McKinney2011-10-16-2/+2
|
* fix fixtures order to avoid postgresql foreign key errorsJames McKinney2011-10-11-2/+2
|
* Amend test which broke due to missing locale prefix under some conditionsDavid Cabo2011-09-05-1/+1
|
* Show the rejected reason for the incoming message in question, not the most ↵Seb Bacon2011-08-11-1/+6
| | | | recent rejected reason for the info request in question. Fixes #129.
* Fix up missing fixtures (causing failures dependent on order the tests were ↵Seb Bacon2011-08-10-1/+1
| | | | funr). Also tidy up raw_email setup code to match everywhere.
* allow admin to redeliver emails to closed requests. Fixes #116Seb Bacon2011-08-08-0/+18
|
* Fix dependency problem when deleting incoming messages. Closes #115Seb Bacon2011-08-08-0/+7
|
* Guess holding pen emails based on having a correct hash and an incorrect id. ↵Seb Bacon2011-08-08-0/+11
| | | | Closes #117
* Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-0/+19
| | | | display it to administrators. Closes #107.
* Make the tests work with authenticationRobin Houston2011-07-13-1/+2
|
* Adding required info_request_event fixture.Louise Crow2011-02-23-1/+1
|
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Fancier options for stopping new responses to requests.francis2009-06-15-1/+1
|
* Remove escaping of HTML from text alert emails.francis2008-05-27-1/+1
|
* More tests stufffrancis2008-04-14-1/+1
|
* Test code for more admin stuff, and help pages, and related HTML fixes.francis2008-03-21-0/+40