This file is indexed.

/usr/lib/ruby/vendor_ruby/shoulda/matchers/integrations/rspec.rb is in ruby-shoulda-matchers 1.0.0~beta2-1build1.

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
19
20
21
22
23
24
25
26
27
28
29
30
# :enddoc:

if defined?(::ActiveRecord)
  require 'shoulda/matchers/active_record'
  module RSpec::Matchers
    include Shoulda::Matchers::ActiveRecord
  end
end

if defined?(::ActionController)
  require 'shoulda/matchers/action_controller'
  module RSpec
    module Rails
      module ControllerExampleGroup
        include Shoulda::Matchers::ActionController
      end
    end
  end
end

if defined?(::ActionMailer)
  require 'shoulda/matchers/action_mailer'
  module RSpec
    module Rails
      module MailerExampleGroup
        include Shoulda::Matchers::ActionMailer
      end
    end
  end
end