Commit Graph

188 Commits

Author SHA1 Message Date
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 86bec28457 Improve route changes handling under guard/spork 2015-05-01 17:19:39 +00:00
Thibault Jouan f49f04b650 Clean up route configuration
* Avoid old ruby hash syntax;
* Sort rules;
* Refactor arguments to :only options.
2015-05-01 17:04:50 +00:00
Thibault Jouan c0b2621b2f Implement ping/pong endpoint in API 2015-05-01 16:56:55 +00:00
Thibault Jouan cbacdd9fc1 Fix coding standards in specs 2015-05-01 15:57:26 +00:00
Thibault Jouan c1393b8f8f Refactor API CORS specs 2015-05-01 15:42:24 +00:00
Thibault Jouan c1477a2e89 Remove an expectation in tracks player spec
sounds/show is already tested in sounds feature specs.
2015-05-01 15:25:31 +00:00
Thibault Jouan 00fe9bf258 Refactor factory girl usage in specs 2015-05-01 15:21:41 +00:00
Thibault Jouan 3247dd0934 Merge branch 'controllers-spec-remove' 2015-05-01 15:17:09 +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 4b0f4d391f Implement user sign out (destroy current session) 2015-05-01 10:55:32 +00:00
Thibault Jouan 7ecf47a0f9 Workaround broken scrolling on travis CI 2015-05-01 10:38:33 +00:00
Thibault Jouan e2c71bb964 Merge branch 'travis-build-fix' 2015-05-01 10:29:30 +00:00
Thibault Jouan 90da5e4490 Configure travis CI to create initial directories 2015-05-01 10:28:55 +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 62ea95af56 Fix travis CI script configuration 2015-05-01 10:24:24 +00:00
Thibault Jouan a38da387d2 Configure secret_key_base for travis CI 2015-05-01 10:22:57 +00:00
Thibault Jouan 14e255eeb0 Configure database for travis CI 2015-05-01 10:00:47 +00:00
Thibault Jouan b1a6248004 Enable travis CI fast finish 2015-05-01 10:00:47 +00:00
Thibault Jouan 2f44a2265e Add navigation in layout header as a list 2015-04-30 13:54:02 +00:00
Thibault Jouan 64e8a67501 Add travis CI configuration file 2015-04-30 13:47:10 +00:00
Thibault Jouan d58c9ba0cb Remove `should' usages in specs 2015-04-30 13:43:54 +00:00
Thibault Jouan 1a39db3909 Fix configured sounds path 2015-04-30 13:40:31 +00:00
Thibault Jouan 4a015d461a Prevent exception when fetching current user 2015-04-30 13:36:48 +00:00
Thibault Jouan 98764eb5be Refactor spec_helper requirement with rspec config 2015-04-30 12:31:02 +00:00
Thibault Jouan e90bb01cb9 Configure sounds path in application config 2015-04-30 12:25:26 +00:00
Thibault Jouan 999ff85ac9 Move default headers configuration in app config 2015-04-30 12:20:22 +00:00
Thibault Jouan 9ff1c049c5 Revert "Remove bundler binstubs"
This reverts commit 7209d10aaf.

  It appears rails now depends on this for various aspects :-(
2015-04-30 12:18:43 +00:00
Thibault Jouan 2ff2521bf1 Remove unused assets from public directory 2015-04-30 11:55:33 +00:00
Thibault Jouan 2d6b2b1a50 Remove username from DB config 2015-04-30 11:49:19 +00:00
Thibault Jouan 7209d10aaf Remove bundler binstubs 2015-04-30 11:46:56 +00:00
Thibault Jouan 3e5c29b635 Configure CSRF protection with exceptions
rails 4 introduced different strategies, but we never configured one
so it would default to a null session.
2015-04-30 11:43:22 +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 16cccc2a23 Require only required railties 2015-04-30 11:24:59 +00:00
Thibault Jouan 30d5f763d9 Fix coding standards 2015-04-30 09:37:49 +00:00
Thibault Jouan c510c8f871 Remove secret token initializer 2015-04-30 09:28:46 +00:00
Thibault Jouan 2fe3eb1158 Remove dependencies on Scube constant 2015-04-30 09:28:14 +00:00
Thibault Jouan 3b733c349e Fix coding standards in application files 2015-04-30 08:52:00 +00:00
Thibault Jouan 737ac1f10a Fix coding standards in guard config 2015-04-30 08:14:28 +00:00