lib/nagios/spec_helper.rb in nagios_helper-0.2 vs lib/nagios/spec_helper.rb in nagios_helper-0.2.1
- old
+ new
@@ -1,11 +1,7 @@
if defined?(RAILS_ENV) && RAILS_ENV['test']
- Nagios.load_initializers
-
- Dir[Nagios.root + "/**/*.rb"].each do |file|
- require file
- end
+ Nagios.load_all
module EM
def self.defer
yield
end
\ No newline at end of file