1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Resolve test name conflict

There are two tests named
'sets the Content-Type response header without extname' in
helpers_test.rb.

Rename the second to accurately describe what it tests.
This commit is contained in:
Matt Wildig 2012-05-29 21:25:16 +01:00
parent f91c411603
commit 4b361c915e

View file

@ -601,7 +601,7 @@ class HelpersTest < Test::Unit::TestCase
assert_equal '<sinatra></sinatra>', body assert_equal '<sinatra></sinatra>', body
end end
it 'sets the Content-Type response header without extname' do it 'sets the Content-Type response header with extname' do
mock_app do mock_app do
get('/attachment') do get('/attachment') do
content_type :atom content_type :atom