Sha256: a3b71746fb0708a9cd4b961a87507578c4bd97e166f67f88e8060d0f8622d35f

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

# -*- encoding: utf-8 -*-

#
# Author:: Edmund Haselwanter (<office@iteh.at>)
# Copyright:: Copyright (c) 2011 Edmund Haselwanter
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


$: << File.join(File.dirname(__FILE__), "/../lib")

require 'zabbixapi'
require 'fakeweb'
require 'record_http'

RecordHttp.save_path = File.join(File.dirname(__FILE__),'/fixtures')
RecordHttp.include_headers = true
RecordHttp.file_prefix = 'http_'

#FakeWeb.allow_net_connect = false

def fixture_file(filename)
  return '' if filename == ''
  file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/' + filename)
  File.read(file_path)
end

def store_to_fixture_file(filename)

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
iteh-zabbixapi-0.2.4 spec/spec_helper.rb
iteh-zabbixapi-0.2.3 spec/spec_helper.rb
iteh-zabbixapi-0.2.2 spec/spec_helper.rb