Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove double test for header inheritance leaks

  • Loading branch information...
commit a93cbbd40c22821336953647e43ae5a8771b7886 1 parent 0101d27
@markmcspadden markmcspadden authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 activeresource/test/cases/base_test.rb
View
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)
Please sign in to comment.
Something went wrong with that request. Please try again.