Skip to content

Commit

Permalink
rescue exception in specs since LoadError doesn't get rescued by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed May 14, 2010
1 parent db99c6c commit 3c7fa7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -20,7 +20,7 @@
require "setup/#{backend}"
require "backend/#{backend}_job_spec"
BACKENDS << backend.to_sym
rescue
rescue Exception
puts "Unable to load #{backend} backend: #{$!}"
end
end
Expand Down

0 comments on commit 3c7fa7c

Please sign in to comment.