spec/spec_env.rb in inetmgr-0.6.0 vs spec/spec_env.rb in inetmgr-0.7.0

- old
+ new

@@ -2,23 +2,19 @@ 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 + cfg = Inetmgr::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 \ No newline at end of file