Sha256: 75da95440521f2a93ebe43abb75a2aaebc1fad22462179bfa26961f671e1768c

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

require 'spec'
require 'test/unit'
require 'spec_env'
require 'uuid'
require File.expand_path(File.join(File.dirname(__FILE__), "../lib/inetmgr"))

module RSpecExtensions

	def configure(apply_changes = true)
		cfg = IisConfiguration.new
		yield cfg
	    cfg.apply_changes if apply_changes
	end

    def generate_random_name
	    UUID.generate(:compact).to_s
    end

end

Spec::Runner.configure do |config|
  config.include RSpecExtensions
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.2.0-mswin32 spec/spec_env.rb