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
1 changed files with 1 additions and 1 deletions

View File

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