ref: refs/heads/master
commit c26df05227cca80df0fe38b7fd6800bbcacc1fc2
Author: Ladislav Slezak
Date: Fri Sep 25 14:46:05 2009 +0200
environment.rb: move test-unit config to environments/test.rb
---
webclient/config/environment.rb | 3 ---
webclient/config/environments/test.rb | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/webclient/config/environment.rb b/webclient/config/environment.rb
index 496f9bd..0643e59 100644
--- a/webclient/config/environment.rb
+++ b/webclient/config/environment.rb
@@ -21,9 +21,6 @@ init = Rails::Initializer.run do |config|
# you must remove the Active Record framework.
# config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
- # configure load path for test unit, needed for mocha >= 0.9.6 and test-unit >= 2.0.0
- 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/webclient/config/environments/test.rb b/webclient/config/environments/test.rb
index 1e709e1..60e9064 100644
--- a/webclient/config/environments/test.rb
+++ b/webclient/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 load path for test unit, needed for mocha >= 0.9.6 and test-unit >= 2.0.0
+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