ref: refs/heads/patch_refactor
commit b2670a9c1ecb486e8374dff12274a94387a5f8f0
Author: Ladislav Slezak
Date: Fri Sep 25 11:12:22 2009 +0200
moved test-unit gem config
from environment.rb to environments/test.rb
---
webservice/config/environment.rb | 2 --
webservice/config/environments/test.rb | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/webservice/config/environment.rb b/webservice/config/environment.rb
index 5c00ea3..0dd6d00 100644
--- a/webservice/config/environment.rb
+++ b/webservice/config/environment.rb
@@ -29,8 +29,6 @@ init = Rails::Initializer.run do |config|
# you must remove the Active Record framework.
# config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
- config.gem 'test-unit', :lib => 'test/unit' if ENV['RAILS_ENV'] == 'test'
-
# Specify gems that this application depends on.
# They can then be installed with "rake gems:install" on new installations.
# config.gem "bj"
diff --git a/webservice/config/environments/test.rb b/webservice/config/environments/test.rb
index 1e709e1..d6433ef 100644
--- a/webservice/config/environments/test.rb
+++ b/webservice/config/environments/test.rb
@@ -20,3 +20,6 @@ config.action_controller.allow_forgery_protection = false
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
+
+# configure test-unit gem
+config.gem 'test-unit', :lib => 'test/unit'
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org