travis-web/waiter/spec/allow_spec.rb
Piotr Sarnacki 8959f382c2 Move server/ to waiter/
Apparently server dir conflicts with some scripts in ember-cli
2015-02-03 10:13:48 +01:00

12 lines
373 B
Ruby

require 'spec_helper'
describe Travis::Web::Allow do
example { post('/') .should_not be_ok }
example { delete('/') .should_not be_ok }
example { put('/') .should_not be_ok }
example { patch('/') .should_not be_ok }
example { options('/') .should_not be_ok }
example { head('/') .should be_ok }
example { get('/') .should be_ok }
end