test/helper.rb in remailer-0.4.6 vs test/helper.rb in remailer-0.4.8

- old
+ new

@@ -6,14 +6,13 @@ require 'timeout' require 'thwait' require 'rubygems' -if (Gem.available?('eventmachine')) - gem 'eventmachine' +begin require 'eventmachine' -else - raise "EventMachine gem is not installed." +rescue => e + raise "EventMachine gem could not be loaded: #{e.class}: #{e}" end require 'remailer' class Proc