Thibault Jouan
00fe9bf258
Refactor factory girl usage in specs
2015-05-01 15:21:41 +00:00
Thibault Jouan
9c9fdcf4da
Refactor AcceptanceHelpers
2015-05-01 15:17:03 +00:00
Thibault Jouan
896fe661bd
Remove controllers spec already tested elsewhere
2015-05-01 15:16:59 +00:00
Thibault Jouan
5e1757aff9
Improve tracks CRUD
...
* Add index, edit and update action;
* Add _form partial;
* Add link to tracks/index in nav;
* Refactor specs.
2015-05-01 12:09:29 +00:00
Thibault Jouan
e1c8a6038d
Simplify playlists CRUD specs
2015-05-01 11:40:11 +00:00
Thibault Jouan
9d37916e17
Configure rspec to include factory girl helpers
2015-05-01 11:31:25 +00:00
Thibault Jouan
94704af113
Remove rspec config for `mock_with' (default)
2015-05-01 11:31:03 +00:00
Thibault Jouan
454f344259
Rename UserIntegrationHelpers as AcceptanceHelpers
2015-05-01 11:27:45 +00:00
Thibault Jouan
737c6b03e4
Organize feature specs in sub directories
2015-05-01 11:18:41 +00:00
Thibault Jouan
10d4da2822
Remove specs for haml views
2015-05-01 11:09:28 +00:00
Thibault Jouan
b25fbaac5e
Remove last playlists and tracks from home
2015-05-01 11:03:34 +00:00
Thibault Jouan
d4d0382e4c
Remove `sounds_path' modification in spec_helper
...
Since e90bb01c, we already configure a different path for test
environment from application configuration.
2015-05-01 10:26:04 +00:00
Thibault Jouan
d58c9ba0cb
Remove `should' usages in specs
2015-04-30 13:43:54 +00:00
Thibault Jouan
98764eb5be
Refactor spec_helper requirement with rspec config
2015-04-30 12:31:02 +00:00
Thibault Jouan
b13efc5a4c
Improve how ruby features are required
...
* Don't require bcrypt explicitly (done by bundler);
* Regroup require calls in application configuration.
2015-04-30 11:28:07 +00:00
Thibault Jouan
282eb2ddee
Update to rspec 3.2
2015-04-29 14:55:03 +00:00
Thibault Jouan
fae21e87d4
Fix rspec 2.99 deprecations
2015-04-29 13:06:44 +00:00
Thibault Jouan
b70071a7c3
Update rspec configuration for rspec-rails 3
2015-04-29 13:00:14 +00:00
Thibault Jouan
4c6adc6927
Use new "strong parameters" from rails4
2014-04-03 02:20:37 +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
97c64d0990
Update capybara to last version
2014-04-01 05:18:19 +00:00
Thibault Jouan
eda2f3fbee
Update factory girl to last version
2014-04-01 05:04:27 +00:00
Thibault Jouan
d2b332215e
Remove incorrect mock() usage in specs
2014-04-01 04:58:39 +00:00
Thibault Jouan
c1eaf98c02
Update for latest RABL version:
...
* Fix controller specs to also render RABL views where needed.
2014-04-01 04:52:09 +00:00
Thibault Jouan
40f4ced3b8
Add inflection for API acronym
2013-06-30 21:37:30 +00:00
Thibault Jouan
85efa1729d
Use a dedicated dedicated directory for specs
2012-05-04 19:08:29 +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
Thibault Jouan
df6d4991f8
Implement playlists/create action for API
2012-03-19 02:23:48 +00:00
Thibault Jouan
f8ed140af1
Add api_sign_in method for UserIntegrationHelpers
2012-03-19 01:21:58 +00:00
Thibault Jouan
906851f50f
Add UserControllersHelpers to assign user in session
2012-03-19 01:20:31 +00:00
Thibault Jouan
b25d4d256f
Update all bundled gems to lastest versions
2012-03-18 23:51:20 +00:00
Thibault Jouan
10a8e1f094
Remove v0 version namespacing for API
2012-03-18 23:16:43 +00:00
Thibault Jouan
5dfafdcc46
Implement sessions/create in JSON API
2012-03-18 17:30:36 +00:00
Thibault Jouan
499b06c9e5
Allow API consumer to send credentials on cross-origin requests
2012-03-13 21:12:24 +00:00
Thibault Jouan
196ea16a94
Use RABL to build JSON responses given by API
2012-03-11 23:31:01 +00:00
Thibault Jouan
8681999d4c
Fix API playlists controller spec filename
2012-03-11 22:30:17 +00:00
Thibault Jouan
0177fd2c08
Simplify JSON.parse call in api playlists controller spec
2012-03-11 22:20:19 +00:00
Thibault Jouan
6379da88e2
Implement Cross-Origin Resource Sharing:
...
* Add Api::ApplicationController
* Route OPTION requests (CORS preflight) to API application controller
* Filter all API requests through #cor_filter in API application
controller
2012-03-11 22:19:42 +00:00
Thibault Jouan
88d3242843
Implements playlists/index action in JSON API
2012-02-26 11:33:43 +00:00
Thibault Jouan
5145717a3c
Specify models attributes that must not be mass assignated
2012-01-07 18:26:38 +00:00
Thibault Jouan
5e6781a656
Improve User specs about email uniqueness
2011-12-30 13:40:03 +00:00
Thibault Jouan
a36310918c
Fix syntax in spec helper
2011-12-05 18:07:46 +00:00
Thibault Jouan
e647821f6f
Specify binary encoding when reading Sound file in SoundsController spec
2011-11-30 21:28:53 +00:00
Thibault Jouan
222acb4e07
Reload factories for each rspec examples
2011-11-30 21:27:57 +00:00