Refactor spec_helper requirement with rspec config

This commit is contained in:
Thibault Jouan
2015-04-30 12:31:02 +00:00
parent e90bb01cb9
commit 98764eb5be
34 changed files with 1 additions and 66 deletions

View File

@@ -1,5 +1,3 @@
require 'spec_helper'
describe '/api OPTIONS requests routing' do
it 'routes to API::ApplicationController#cor_preflight' do
expect(options: '/api/some_route')