Skip to content
Browse files

Log tests to log/test.log

  • Loading branch information...
1 parent 2eb1699 commit d784dd23c0a93915c561ffedd7a2d1a8b3c06bf5 @tarcieri tarcieri committed Aug 2, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 log/.gitignore
  2. +2 −2 spec/spec_helper.rb
View
1 log/.gitignore
@@ -0,0 +1 @@
+*.log
View
4 spec/spec_helper.rb
@@ -3,8 +3,8 @@
require 'celluloid'
require 'celluloid/rspec'
-# Squelch the logger (comment out this line if you want it on for debugging)
-Celluloid.logger = nil
+logfile = File.open(File.expand_path("../../log/test.log", __FILE__), 'a')
+Celluloid.logger = Logger.new(logfile)
Dir['./spec/support/*.rb'].map {|f| require f }

0 comments on commit d784dd2

Please sign in to comment.
Something went wrong with that request. Please try again.