Sha256: 0aef014b0e66cc0e9fdc3ddfdc23125b1e782760eb6d6adf7c02970ef1aebe64

Contents?: true

Size: 455 Bytes

Versions: 91

Compression:

Stored size: 455 Bytes

Contents

RSpec::Matchers.define :have_site_application do |app|
  match do |subject|
    if subject.class.name == 'Serverspec::Type::IisWebsite'
      subject.has_site_application?(app, @pool, @physical_path)
    else
      className = subject.class.name
      raise "not supported class #{className}"
    end
  end

  chain :with_pool do |pool|
    @pool = pool
  end
  
  chain :with_physical_path do |physical_path|
    @physical_path = physical_path
  end
end

Version data entries

91 entries across 91 versions & 4 rubygems

Version Path
serverspec-2.38.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.37.2 lib/serverspec/matcher/have_site_application.rb
serverspec-2.37.1 lib/serverspec/matcher/have_site_application.rb
serverspec-2.37.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.36.1 lib/serverspec/matcher/have_site_application.rb
serverspec-2.36.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.35.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.34.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.33.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.32.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.31.1 lib/serverspec/matcher/have_site_application.rb
serverspec-2.31.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.30.1 lib/serverspec/matcher/have_site_application.rb
serverspec-2.30.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.29.2 lib/serverspec/matcher/have_site_application.rb
serverspec-2.29.1 lib/serverspec/matcher/have_site_application.rb
serverspec-2.29.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.28.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.27.0 lib/serverspec/matcher/have_site_application.rb
serverspec-2.26.0 lib/serverspec/matcher/have_site_application.rb