test/delegator_test.rb in sinatra-1.4.0.c vs test/delegator_test.rb in sinatra-1.4.0.d
- old
+ new
@@ -58,10 +58,10 @@
it 'defaults to Sinatra::Application as target' do
assert_equal Sinatra::Application, Sinatra::Delegator.target
end
- %w[get put post delete options patch].each do |verb|
+ %w[get put post delete options patch link unlink].each do |verb|
it "delegates #{verb} correctly" do
delegation_app do
send(verb, '/hello') { 'Hello World' }
end