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:
parent
f91c411603
commit
4b361c915e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue