spec/spec_helper.rb in zabbixapi-2.2.1 vs spec/spec_helper.rb in zabbixapi-2.2.2
- old
+ new
@@ -9,10 +9,10 @@
@zbx ||= ZabbixApi.connect(
:url => @api_url,
:user => @api_login,
:password => @api_password,
- :debug => false
+ :debug => ENV['ZABBIX_DEBUG']? true : false
)
end
def gen_name(prefix)
suffix = rand(1_000_000_000)