/usr/lib/ruby/vendor_ruby/capybara/spec/session/headers.rb is in ruby-capybara 2.2.1-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 | Capybara::SpecHelper.spec '#response_headers' do
it "should return response headers", :requires => [:response_headers] do
@session.visit('/with_simple_html')
@session.response_headers['Content-Type'].should =~ %r(text/html)
end
end
|