Sha256: be9c7b4d75b0803911fedc51c135cd1f96007a1ba8f9119c191cf9175feeca71

Contents?: true

Size: 553 Bytes

Versions: 5

Compression:

Stored size: 553 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'debugger'
require File.join(File.dirname(__FILE__), '../lib', 'muhimbi')
require 'stringio'
require "pry"

RSpec.configure do |config|

  def fixture_key(filename)
    File.dirname(__FILE__) + "/fixtures/#{filename}"
  end

  def config_options
    config = YAML.load( File.open(fixture_key("config.yml")) )
    return config
  end

  def config_setup
    Ruby::Muhimbi::Config.setup do |config|
      config.wsdl = config_options["wsdl"]
    end
    Ruby::Muhimbi::Config
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
muhimbi-0.0.5 spec/spec_helper.rb
muhimbi-0.0.4 spec/spec_helper.rb
muhimbi-0.0.3 spec/spec_helper.rb
muhimbi-0.0.2 spec/spec_helper.rb
muhimbi-0.0.1 spec/spec_helper.rb