From 6f247347a11c7f59c510dd3ff8ee94628bc1df8b Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Mon, 8 Feb 2010 12:30:59 -0800 Subject: Fix failing spec --- activeresource/test/cases/base_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activeresource/test/cases/base_test.rb') diff --git a/activeresource/test/cases/base_test.rb b/activeresource/test/cases/base_test.rb index e73701cad7..0f10a0e4d7 100644 --- a/activeresource/test/cases/base_test.rb +++ b/activeresource/test/cases/base_test.rb @@ -99,10 +99,15 @@ class BaseTest < Test::Unit::TestCase mock.get "/customers/1.xml", {}, @luis end + @original_person_site = Person.site Person.user = nil Person.password = nil end + def teardown + Person.site = @original_person_site + end + ######################################################################## # Tests relating to setting up the API-connection configuration ######################################################################## -- cgit v1.2.3