Remove spec for auto-using custom middlewares.
This commit is contained in:
parent
5971946d35
commit
c75f76aefb
|
@ -1,12 +0,0 @@
|
||||||
require 'spec_helper'
|
|
||||||
|
|
||||||
describe Travis::Api::App::Middleware do
|
|
||||||
class MyMiddleware < Travis::Api::App::Middleware
|
|
||||||
get('/my_middleware') { 'ok' }
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'sets up middleware automatically' do
|
|
||||||
get('/my_middleware').should be_ok
|
|
||||||
body.should == "ok"
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in New Issue
Block a user