Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> patch_refactor : moved test-unit gem config
  • From: Ladislav Slezak <lslezak@xxxxxxxxxx>
  • Date: Fri, 25 Sep 2009 11:12:22 +0200
  • Message-id: <E1MrI2l-00060W-Uj@xxxxxxxxxxxxxxxx>
ref: refs/heads/patch_refactor
commit b2670a9c1ecb486e8374dff12274a94387a5f8f0
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages