Permalink
Browse files

Rescue from any errors in the specs when trying to setup the backends

  • Loading branch information...
1 parent c99538c commit 9ada1f4bbcfeccbe7b261f3dd4f46b15447a1290 @bkeepers bkeepers committed May 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/spec_helper.rb
View
@@ -20,8 +20,8 @@
require "setup/#{backend}"
require "backend/#{backend}_job_spec"
BACKENDS << backend.to_sym
- rescue LoadError
- puts "Unable to load #{backend} backend! #{$!}"
+ rescue
+ puts "Unable to load #{backend} backend: #{$!}"
end
end

0 comments on commit 9ada1f4

Please sign in to comment.