Sha256: af8379a033eefe6389ca6fe04fa2431af34f952853a60fad222a1fb082449ed1

Contents?: true

Size: 279 Bytes

Versions: 8

Compression:

Stored size: 279 Bytes

Contents

#encoding: utf-8

require 'spec_helper'

describe "query" do
  it "should works" do
    zbx.query(
      method: 'host.get',
      params: {
        filter: {
            host: 'asdf'
        },
        selectInterfaces: 'refer'
      }
    ).should be_kind_of(Array)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
zabbixapi-2.4.7 spec/query.rb
zabbixapi-2.4.6 spec/query.rb
zabbixapi-2.4.5 spec/query.rb
zabbixapi-2.4.4 spec/query.rb
zabbixapi-2.4.3 spec/query.rb
zabbixapi-2.4.2 spec/query.rb
zabbixapi-2.4.1 spec/query.rb
zabbixapi-2.4.0 spec/query.rb