Sha256: 6e422c357dee31955e4a6b8c6c4def9ea6518cc36b98c36aa50c9ff82d39ad3d

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

require 'rspec'
require 'test/unit'
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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inetmgr-0.4.0 spec/spec_env.rb
inetmgr-0.3.0-mswin32 spec/spec_env.rb