summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 14:24:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 14:24:19 +0000
commit5e2a01656df1b98f82a0565271b6d527d8fefbf4 (patch)
tree54d00a6e9708051e99b9078845b63e64be23bb17 /vendor
parentd79c20c4f28f9b43f1bc105cb590d244c1b322f2 (diff)
downloadredmine-5e2a01656df1b98f82a0565271b6d527d8fefbf4.tar.gz
redmine-5e2a01656df1b98f82a0565271b6d527d8fefbf4.zip
Test environments cleanup.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1084 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/actionwebservice/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/actionwebservice/init.rb b/vendor/plugins/actionwebservice/init.rb
index 582f73717..ade118c0f 100644
--- a/vendor/plugins/actionwebservice/init.rb
+++ b/vendor/plugins/actionwebservice/init.rb
@@ -4,4 +4,4 @@ require 'action_web_service'
Dependencies.load_paths += ["#{RAILS_ROOT}/app/apis"]
# AWS Test helpers
-require 'action_web_service/test_invoke' if ENV['RAILS_ENV'] == 'test'
+require 'action_web_service/test_invoke' if ENV['RAILS_ENV'] && ENV['RAILS_ENV'] =~ /^test/