Sha256: 4cf8112c3f2e19bdd733de661ce2d20b79ccef306d7c6b1db285a2947ce8ae7d

Contents?: true

Size: 545 Bytes

Versions: 5

Compression:

Stored size: 545 Bytes

Contents

require 'minitest/autorun'
require 'ffaker'
require 'vcr'

ZABBIX_TEST_URI = ENV.fetch('ZABBIX_TEST_URI', 'http://localhost/zabbix')
ZABBIX_TEST_USER = ENV.fetch('ZABBIX_TEST_USER', 'Admin')
ZABBIX_TEST_PASSWORD = ENV.fetch('ZABBIX_TEST_PASSWORD', 'zabbix')

module Minitest::Assertions
  def assert_success(object)
    assert object.success?,
      "Expected #{object.inspect}.success? to be true, but have false"
  end
end

VCR.configure do |config|
  config.cassette_library_dir = 'test/fixtures/vcr_casettes'
  config.hook_into :webmock
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zobbix-0.1.0 test/test_helper.rb
zobbix-0.0.4 test/test_helper.rb
zobbix-0.0.3 test/test_helper.rb
zobbix-0.0.2 test/test_helper.rb
zobbix-0.0.1 test/test_helper.rb