Sha256: 626a5d7bc335e611e9f34e0beac9853b33070e30fe6139a15acc692f18b1799f

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

begin
  require 'rspec'
rescue LoadError
  require 'rubygems' unless ENV['NO_RUBYGEMS']
  gem 'rspec'
  require 'rspec'
end

$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'hudson'

module ConfigFixtureLoaders
  def config_xml(name, variation = nil)
    name += ".#{variation}" if variation
    @@config_fixture_loaders ||= {}
    @@config_fixture_loaders[name] ||= File.read(File.dirname(__FILE__) + "/fixtures/#{name}.config.xml")
    @@config_fixture_loaders[name]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hudson-0.3.0.beta.3 spec/spec_helper.rb
hudson-0.3.0.beta.2 spec/spec_helper.rb
hudson-0.3.0.beta.1 spec/spec_helper.rb