Sha256: 8d7d688a02621b2db908a9509e88be7969293221d98209653ea046fe3c457cdd

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 Bytes

Contents

require 'spec_env'

describe "When adding an auto start provider" do

	before(:all) do
		configure do |cfg|
			@name = generate_random_name
			@type = generate_random_name
			@provider = cfg.get_auto_start_providers.add { |p| p.name = @name; p.type = @type }
		end
	end

	it "the provider should not be nil" do
		@provider.should_not be_nil
	end

	it "the provider name should be set" do
		@provider.name.should == @name
	end

	it "the provider type should be set" do
		@provider.type.should == @type
	end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inetmgr-0.7.0 spec/auto_start_provider_spec.rb
inetmgr-0.6.0 spec/auto_start_provider_spec.rb
inetmgr-0.5.0 spec/auto_start_provider_spec.rb
inetmgr-0.4.0 spec/auto_start_provider_spec.rb
inetmgr-0.3.0-mswin32 spec/auto_start_provider_spec.rb
inetmgr-0.2.0-mswin32 spec/auto_start_provider_spec.rb