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

@@ -2,10 +2,10 @@ require 'spec_helper'
describe '/api OPTIONS requests routing' do
it 'routes to Api::ApplicationController#cor_preflight' do
{ :options => '/api/v0' }.should route_to(
{ :options => '/api/some_route' }.should route_to(
:controller => 'api/application',
:action => 'cor_preflight',
:all => 'v0'
:all => 'some_route'
)
end
end