Remove v0 version namespacing for API

This commit is contained in:
Thibault Jouan
2012-03-18 23:16:43 +00:00
parent 5dfafdcc46
commit 10a8e1f094
10 changed files with 11 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ feature 'API cross origin request' do
# FIXME: request without redirect
request_via_redirect(
:options,
api_v0_playlists_path(:format => :json),
api_playlists_path(:format => :json),
nil,
{ 'Origin' => origin }
)
@@ -33,7 +33,7 @@ feature 'API cross origin request' do
scenario 'basic request' do
# FIXME: replace with a more stable/generic action
get api_v0_playlists_path(:format => :json), nil, {
get api_playlists_path(:format => :json), nil, {
'Origin' => origin
}