test/request_test.rb in sinatra-0.9.1.1 vs test/request_test.rb in sinatra-0.9.2
- old
+ new
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/helper'
-describe 'Sinatra::Request' do
+class RequestTest < Test::Unit::TestCase
it 'responds to #user_agent' do
request = Sinatra::Request.new({'HTTP_USER_AGENT' => 'Test'})
assert request.respond_to?(:user_agent)
assert_equal 'Test', request.user_agent
end