aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/abstract_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/test/abstract_unit.rb')
-rw-r--r--actionwebservice/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/test/abstract_unit.rb b/actionwebservice/test/abstract_unit.rb
index 3afd928561..3c5a973498 100644
--- a/actionwebservice/test/abstract_unit.rb
+++ b/actionwebservice/test/abstract_unit.rb
@@ -16,7 +16,7 @@ begin
PATH_TO_AR = File.dirname(__FILE__) + '/../../activerecord'
require "#{PATH_TO_AR}/lib/active_record" unless Object.const_defined?(:ActiveRecord)
require "#{PATH_TO_AR}/lib/active_record/fixtures" unless Object.const_defined?(:Fixtures)
-rescue Object => e
+rescue LoadError => e
fail "\nFailed to load activerecord: #{e}"
end