aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/base_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activeresource/test/base_test.rb')
-rw-r--r--activeresource/test/base_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/test/base_test.rb b/activeresource/test/base_test.rb
index 2c823e8e69..f8a9cd4f73 100644
--- a/activeresource/test/base_test.rb
+++ b/activeresource/test/base_test.rb
@@ -200,10 +200,10 @@ class BaseTest < Test::Unit::TestCase
end
def test_custom_header
- Person.custom_headers['key'] = 'value'
+ Person.headers['key'] = 'value'
assert_raises(ActiveResource::ResourceNotFound) { Person.find(3) }
ensure
- Person.custom_headers.delete('key')
+ Person.headers.delete('key')
end
def test_find_by_id_not_found