This file is indexed.

/usr/lib/ruby/vendor_ruby/serverspec/matcher/have_site_application.rb is in ruby-serverspec 2.18.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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