Add inflection for API acronym
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe '/api OPTIONS requests routing' do
|
||||
it 'routes to Api::ApplicationController#cor_preflight' do
|
||||
it 'routes to API::ApplicationController#cor_preflight' do
|
||||
{ :options => '/api/some_route' }.should route_to(
|
||||
:controller => 'api/application',
|
||||
:action => 'cor_preflight',
|
||||
|
Reference in New Issue
Block a user