Sha256: 2598ff3302e6c797520ac4f40a8cb58b6d63c77514b49a3f664bcda6a2ab5302

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require 'rubygems' unless ENV['NO_RUBYGEMS']
  gem 'rspec'
  require 'spec'
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

4 entries across 4 versions & 1 rubygems

Version Path
hudson-0.2.7 spec/spec_helper.rb
hudson-0.2.6 spec/spec_helper.rb
hudson-0.2.5.pre3 spec/spec_helper.rb
hudson-0.2.5.pre2 spec/spec_helper.rb