Sha256: 086cdd9b20031aeaefb017dcbb212cb745f4216983b0845adcf8e35eb5598f91
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
RSpec::Matchers.define :have_site_bindings do |port| match do |subject| if subject.class.name == 'Serverspec::Type::IisWebsite' subject.has_site_bindings?(port, @protocol, @ipAddress, @hostHeader) else className = subject.class.name raise "not supported class #{className}" end end chain :with_protocol do |protocol| @protocol = protocol end chain :with_ipAddress do |ipAddress| @ipAddress = ipAddress end chain :with_hostHeader do |hostHeader| @hostHeader = hostHeader end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serverspec-1.13.0 | lib/serverspec/matchers/have_site_bindings.rb |