55 Commits

Author SHA1 Message Date
Thibault Jouan 54ae036adc Implement API sounds/create 2015-05-06 06:28:02 +00:00
Thibault Jouan 4e66dc4522 Simplify CORS specs 2015-05-06 05:25:52 +00:00
Thibault Jouan ba3c0380d0 Accept API authentication with keys token 2015-05-06 03:14:42 +00:00
Thibault Jouan 78f79c4c34 Add API authenticated ping resource 2015-05-06 03:14:42 +00:00
Thibault Jouan 1588417559 Refactor response status expectations in API UAT 2015-05-06 03:14:30 +00:00
Thibault Jouan fedf565389 Accept SHA256 as identifier for API playlists/show 2015-05-05 02:27:29 +00:00
Thibault Jouan 50c57e8bbd Ensure HEAD on API sounds/show behave correctly 2015-05-05 00:59:29 +00:00
Thibault Jouan 464a16e964 Fix API sounds/show action 2015-05-05 00:55:42 +00:00
Thibault Jouan 7b44e90814 Change API ping/pong to return a boolean 2015-05-05 00:03:57 +00:00
Thibault Jouan ef0b9053f1 Return new location in API playlists create 2015-05-04 03:41:28 +00:00
Thibault Jouan 4f11cc63e2 Accept matching any HTTP status in json UAT helper 2015-05-04 02:19:44 +00:00
Thibault Jouan 223a6e7a85 Handle save error in API playlists/update 2015-05-04 02:14:37 +00:00
Thibault Jouan 5f993e4bd3 Return errors in API playlists/create 2015-05-04 01:01:37 +00:00
Thibault Jouan 8f8cdaec79 Return 422 when API playlists cannot be saved 2015-05-04 00:59:00 +00:00
Thibault Jouan dcfe1b1b79 Fix typo in API playlists specs 2015-05-04 00:58:48 +00:00
Thibault Jouan 77be82a19f Return 201 Created in API playlists/create 2015-05-04 00:54:17 +00:00
Thibault Jouan 689fe2f4dd Implement API playlists/destroy 2015-05-03 23:35:53 +00:00
Thibault Jouan d03007c99f Implement API playlists/update 2015-05-03 23:23:41 +00:00
Thibault Jouan 317c2b687f Refactor UAT helpers inclusion in specs 2015-05-03 22:58:05 +00:00
Thibault Jouan e940b3f246 Refactor tracks specs 2015-05-03 22:52:26 +00:00
Thibault Jouan 79c4aef669 Fix coding standards in specs 2015-05-03 22:48:34 +00:00
Thibault Jouan 342f9c5aa4 Refactor API CORS specs 2015-05-03 22:46:12 +00:00
Thibault Jouan 6c0736da74 Allow unauthenticated requests to API ping 2015-05-03 22:42:15 +00:00
Thibault Jouan 94f62bcf4e Fix API sign in spec filename 2015-05-03 22:40:31 +00:00
Thibault Jouan bdfd0edff0 Include roots for resources in rabl index views 2015-05-03 19:03:16 +00:00
Thibault Jouan 6001cd2e79 Implement tracks/show in AP 2015-05-02 00:11:52 +00:00
Thibault Jouan 57ea6ca0df Ensure errors are always returned in JSON in API 2015-05-01 22:17:23 +00:00
Thibault Jouan 5b9d36cb39 Ensure AR not found errors are handled in API 2015-05-01 22:15:30 +00:00
Thibault Jouan cd73a588b0 Handle 404 not found error in API 2015-05-01 20:07:18 +00:00
Thibault Jouan b3cfa88bb9 Implement playlists/show in API 2015-05-01 20:06:20 +00:00
Thibault Jouan 8e3955a97b Refuse non-JSON queries on API 2015-05-01 17:47:44 +00:00
Thibault Jouan 063376a285 Refactor JSON responses expectations in API specs 2015-05-01 17:26:49 +00:00
Thibault Jouan d1551c62b0 Fix typo in playlists API specs 2015-05-01 17:25:51 +00:00
Thibault Jouan 2ed16eac25 Fix typo in API ping spec 2015-05-01 17:25:18 +00:00
Thibault Jouan c0b2621b2f Implement ping/pong endpoint in API 2015-05-01 16:56:55 +00:00
Thibault Jouan c1393b8f8f Refactor API CORS specs 2015-05-01 15:42:24 +00:00
Thibault Jouan 00fe9bf258 Refactor factory girl usage in specs 2015-05-01 15:21:41 +00:00
Thibault Jouan 896fe661bd Remove controllers spec already tested elsewhere 2015-05-01 15:16:59 +00:00
Thibault Jouan 454f344259 Rename UserIntegrationHelpers as AcceptanceHelpers 2015-05-01 11:27:45 +00:00
Thibault Jouan 98764eb5be Refactor spec_helper requirement with rspec config 2015-04-30 12:31:02 +00:00
Thibault Jouan 282eb2ddee Update to rspec 3.2 2015-04-29 14:55:03 +00:00
Thibault Jouan 2acf0371b5 Fix coding standards in specs 2014-04-01 19:14:11 +00:00
Thibault Jouan 0c7bf69ba2 Use one-liners in specs where possible 2014-04-01 18:55:42 +00:00
Thibault Jouan 4cef7aeab9 Update specs to new rspec syntax 2014-04-01 18:15:44 +00:00
Thibault Jouan da96c4814a Use ruby 2.x hash syntax 2014-04-01 10:48:18 +00:00
Thibault Jouan aa2b43ab42 Update rails to 4.0:
* Add protected_attributes gem dependency;
* Remove deprecated usages of AR .find method;
2014-04-01 10:01:02 +00:00
Thibault Jouan eda2f3fbee Update factory girl to last version 2014-04-01 05:04:27 +00:00
Thibault Jouan 9b9e17e591 Implement track/index action for API 2012-05-03 21:11:03 +00:00
Thibault Jouan 9ccd1e10be Allow Content-Length header to be received and sent in CORS requests 2012-05-03 21:03:11 +00:00
Thibault Jouan b40b4d4df3 Fix use of nil in CORS filter when request doesn't have an Origin header 2012-05-03 21:03:11 +00:00