Sha256: 7d1bdb74fda72453713d1609f47d2c864ba3089a37f472c2572dbbee3068d1e2

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

require './spec_env.rb'

describe "When getting a sites connection strings" do

	before(:all) do
		iis_cfg = Inetmgr::IisConfiguration.new
		site = iis_cfg.get_sites.find { |s| s.name= 'thuis.jolena.be' }
		site.configure do |site_cfg|
			@validation_settings = site_cfg.get_validation_settings
			@static_content_settings = site_cfg.get_static_content_settings
			
		end
	end

	it "the validation settings should be returned" do
		@validation_settings.should_not == nil
	end

	it "the static content settings should be returned" do
		@static_content_settings.should_not == nil
	end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.7.0 spec/site_configuration_spec.rb