aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/api_controller_spec.rb
Commit message (Collapse)AuthorAgeLines
* API controller tests all passRobin Houston2012-06-18-3/+15
|
* WIP attachment uploading via APIRobin Houston2012-06-06-4/+20
|
* Test for attaching a file via the APIRobin Houston2012-06-06-0/+36
| | | | Not yet implemented, so the test fails.
* Correct comment\Robin Houston2012-06-06-1/+1
|
* Use a fixture for the external requestRobin Houston2012-06-06-4/+8
|
* API: Some testing of show_requestRobin Houston2012-06-06-0/+13
|
* API: test also for refusal conditionsRobin Houston2012-06-06-0/+39
| | | | | | The API must not allow people to update requests that they shouldn’t, i.e. only requests that were created by the same public body, using the API, can be added to using the API.
* API: add followup to requestRobin Houston2012-06-06-13/+61
| | | | You can add a followup to a request using the API.
* API: we can add a response to a requestRobin Houston2012-06-06-0/+60
|
* API create_request method is workingRobin Houston2012-06-06-1/+2
| | | | | | "when using the API", it "should create a new request from a POST", AND IT DOES!
* Fix test and fixtures so they only fail due to missing business logic ↵Seb Bacon2012-06-06-4/+5
| | | | (corrected typo, added missing fixture data, etc)
* Test for creating a new request via the APIRobin Houston2012-06-06-0/+33
This is not yet implemented. Test first!