/usr/lib/ruby/vendor_ruby/innate/spec/bacon.rb is in ruby-innate 2013.02.21-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 19 | require 'bacon'
require 'rack/test'
require File.expand_path('../../', __FILE__) unless defined?(Innate)
Bacon.summary_on_exit
ENV['RACK_ENV'] = 'TEST'
Innate.middleware(:spec) { run Innate.core }
Innate.options.started = true
Innate.options.mode = :spec
shared :rack_test do
Innate.setup_dependencies
extend Rack::Test::Methods
def app; Innate; end
end
|