mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove double test for header inheritance leaks
This commit is contained in:
parent
0101d27de6
commit
a93cbbd40c
1 changed files with 0 additions and 11 deletions
|
@ -473,17 +473,6 @@ class BaseTest < ActiveSupport::TestCase
|
|||
assert_equal nil, fruit.headers['key2']
|
||||
end
|
||||
|
||||
def test_header_inheritance_should_not_leak_upstream
|
||||
fruit = Class.new(ActiveResource::Base)
|
||||
apple = Class.new(fruit)
|
||||
fruit.site = 'http://market'
|
||||
|
||||
fruit.headers['key'] = 'value'
|
||||
|
||||
apple.headers['key2'] = 'value2'
|
||||
assert_equal nil, fruit.headers['key2']
|
||||
end
|
||||
|
||||
########################################################################
|
||||
# Tests for setting up remote URLs for a given model (including adding
|
||||
# parameters appropriately)
|
||||
|
|
Loading…
Reference in a new issue