From 19dac8e60e12036b2717cb4933e79ac9efb04d40 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 5 Jan 2010 16:13:53 -0800 Subject: bump Rails test to 2.3.5 Rails 2.3.3.1 is ancient --- test/rails/app-2.3.5/config/environment.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/rails/app-2.3.5/config/environment.rb (limited to 'test/rails/app-2.3.5/config/environment.rb') diff --git a/test/rails/app-2.3.5/config/environment.rb b/test/rails/app-2.3.5/config/environment.rb new file mode 100644 index 0000000..6eb092c --- /dev/null +++ b/test/rails/app-2.3.5/config/environment.rb @@ -0,0 +1,17 @@ +# -*- encoding: binary -*- + +unless defined? RAILS_GEM_VERSION + RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION'] +end + +# Bootstrap the Rails environment, frameworks, and default configuration +require File.join(File.dirname(__FILE__), 'boot') + +Rails::Initializer.run do |config| + config.frameworks -= [ :active_resource, :action_mailer ] + config.action_controller.session_store = :active_record_store + config.action_controller.session = { + :session_key => "_unicorn_rails_test.#{rand}", + :secret => "#{rand}#{rand}#{rand}#{rand}", + } +end -- cgit v1.2.3-24-ge0c7