Skip to content

Commit

Permalink
Remove double test for header inheritance leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
markmcspadden committed Feb 14, 2012
1 parent 0101d27 commit a93cbbd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions activeresource/test/cases/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -473,17 +473,6 @@ def test_header_inheritance_should_not_leak_upstream
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)
Expand Down

0 comments on commit a93cbbd

Please sign in to comment.