Use ruby 2.x hash syntax
This commit is contained in:
@@ -11,8 +11,8 @@ feature 'API playlists' do
|
||||
playlist = FactoryGirl.attributes_for :playlist
|
||||
|
||||
post api_playlists_path,
|
||||
:format => :json,
|
||||
:playlist => playlist
|
||||
format: :json,
|
||||
playlist: playlist
|
||||
|
||||
json = JSON response.body
|
||||
|
||||
|
Reference in New Issue
Block a user