Update for latest RABL version:
* Fix controller specs to also render RABL views where needed.
This commit is contained in:
parent
edef2df77b
commit
c1eaf98c02
@ -8,6 +8,8 @@ describe API::PlaylistsController do
|
||||
end
|
||||
|
||||
describe 'GET index' do
|
||||
render_views
|
||||
|
||||
before do
|
||||
playlist_1 = Factory.create(:playlist, :name => 'Playlist 1')
|
||||
playlist_2 = Factory.create(:playlist, :name => 'Playlist 2')
|
||||
|
@ -8,6 +8,8 @@ describe API::TracksController do
|
||||
end
|
||||
|
||||
describe 'GET index' do
|
||||
render_views
|
||||
|
||||
before do
|
||||
Factory.create(:track_with_sound)
|
||||
Factory.create(:track_with_sound)
|
||||
|
Loading…
x
Reference in New Issue
Block a user