/usr/lib/ruby/vendor_ruby/merb-core/test/helpers/webrat_helper.rb is in ruby-merb-core 1.1.3+dfsg-2.
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 | module Merb
module Test
# A module to allow Webrat accessing the Merb rack application
#
# Webrat tries to call on the context of the test example an app
# method which should return the Rack app Webrat will use.
#
# Mix this module in to have fully working Webrat specs which uses
# the Merb application returned by the Bootloader with all the
# middleware you have in your app.
module WebratHelper
def app
Merb::Config[:app]
end
end
end
end
|