about summary refs log tree commit homepage
path: root/test/test_fresh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_fresh.rb')
-rw-r--r--test/test_fresh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_fresh.rb b/test/test_fresh.rb
index 9499db5..ff7bae6 100644
--- a/test/test_fresh.rb
+++ b/test/test_fresh.rb
@@ -88,7 +88,7 @@ class TestMogFresh < Test::Unit::TestCase
     end
     test_new_file_info(:md5)
   ensure
-    @admin.delete_class @domain, "check"
+    @admin.delete_class(@domain, "check") if @domain
   end
 
   def test_create_open_close_opts