spec/spec_helper.rb in boty-0.0.17.1 vs spec/spec_helper.rb in boty-0.1.0
- old
+ new
@@ -16,10 +16,13 @@
config.include FakeFSSupport, fakefs: true
config.include SessionSupport, session: true
config.include ThorSupport, thor: true
config.include TemplateProjectSupport, project: true
config.include FaradaySupport, faraday: true
-
+ config.include LoggerSupport, logger: true
config.include SlackSupport::Users, users: true
- Boty::Logger.adapter = Boty::Logger::Null.new
+ null_logger = Boty::Logger::Null.new
+ config.before do
+ Boty::Logger.adapter = null_logger
+ end
end