From aba465e9d196737b07786a759ba320c89ae31c2e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 31 Mar 2009 17:34:10 -0700 Subject: Rails stack tests for unicorn_rails Very preliminary for now. Basically just sets up a basic controller and response. Requires git to clone the official Rails repository. --- test/rails/app-1.2.3/config/environments/development.rb | 7 +++++++ test/rails/app-1.2.3/config/environments/production.rb | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 test/rails/app-1.2.3/config/environments/development.rb create mode 100644 test/rails/app-1.2.3/config/environments/production.rb (limited to 'test/rails/app-1.2.3/config/environments') diff --git a/test/rails/app-1.2.3/config/environments/development.rb b/test/rails/app-1.2.3/config/environments/development.rb new file mode 100644 index 0000000..032fb46 --- /dev/null +++ b/test/rails/app-1.2.3/config/environments/development.rb @@ -0,0 +1,7 @@ +config.cache_classes = false +config.whiny_nils = true +config.breakpoint_server = true +config.action_controller.consider_all_requests_local = true +config.action_controller.perform_caching = false +config.action_view.cache_template_extensions = false +config.action_view.debug_rjs = true diff --git a/test/rails/app-1.2.3/config/environments/production.rb b/test/rails/app-1.2.3/config/environments/production.rb new file mode 100644 index 0000000..c4059e3 --- /dev/null +++ b/test/rails/app-1.2.3/config/environments/production.rb @@ -0,0 +1,3 @@ +config.cache_classes = true +config.action_controller.consider_all_requests_local = false +config.action_controller.perform_caching = true -- cgit v1.2.3-24-ge0c7