spec/support/logging.rb in zk-1.1.1 vs spec/support/logging.rb in zk-1.2.0

- old
+ new

@@ -19,10 +19,10 @@ end # sets the log level to FATAL for the duration of the block def mute_logger orig_level, ZK.logger.level = ZK.logger.level, Logger::FATAL - orig_zk_level, Zookeeper.debug_level = Zookeeper.debug_level, ZookeeperConstants::ZOO_LOG_LEVEL_ERROR + orig_zk_level, Zookeeper.debug_level = Zookeeper.debug_level, Zookeeper::Constants::ZOO_LOG_LEVEL_ERROR yield ensure ZK.logger.level = orig_level end end