spec/support/silence_logger.rb in buildbox-0.0.4 vs spec/support/silence_logger.rb in buildbox-0.1
- old
+ new
@@ -1,7 +1,12 @@
+# encoding: UTF-8
+
+require 'logger'
+require 'celluloid'
+
RSpec.configure do |config|
config.before(:each) do
logger = Logger.new(StringIO.new)
- Buildbox.stub(:logger => logger)
+ Celluloid.logger = logger
end
end