Sha256: b21805761e0dffc6a413132e427f9b46bbee614ed6c92fe3d8d0063639e6b3e0
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 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 # workaround because IronRuby does not implement File.flock (yet) return System::Guid.NewGuid.to_s if RUBY_ENGINE == "ironruby" 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.6.0 | spec/spec_env.rb |
inetmgr-0.5.0 | spec/spec_env.rb |