Sha256: ba4c8ef78b1749c6f5391f7176b6c4e7e6c882e3691414f4b8eea4b3493a38d9
Contents?: true
Size: 552 Bytes
Versions: 2
Compression:
Stored size: 552 Bytes
Contents
ENV["RAILS_ENV"] ||= "test" require File.expand_path("../../integration/apps/rails_app/config/environment.rb", __FILE__) module RailsAppHelper include Rack::Test::Methods def app Rack::Builder.parse_file(config_ru_path).first end private def config_ru_path File.expand_path(File.join(File.dirname(__FILE__), '..', 'integration', 'apps', 'rails_app', 'config.ru')) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cp-sparrow-0.0.16 | spec/support/rails_app_helper.rb |
cp-sparrow-0.0.15 | spec/support/rails_app_helper.rb |