Permalink
Browse files

Remove double test for header inheritance leaks

  • Loading branch information...
1 parent 0101d27 commit a93cbbd40c22821336953647e43ae5a8771b7886 @markmcspadden markmcspadden committed Feb 14, 2012
Showing with 0 additions and 11 deletions.
  1. +0 −11 activeresource/test/cases/base_test.rb
@@ -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)

0 comments on commit a93cbbd

Please sign in to comment.