only set the environment if it hasn't been set previously

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@1338 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
t.felgentreff 15 years ago
parent 127632bc2d
commit 85c3e764b6
  1. 2
      spec/spec_helper.rb

@ -1,4 +1,4 @@
RAILS_ENV = "test"
RAILS_ENV ||= "test"
# prevent case where we are using rubygems and test-unit 2.x is installed
begin

Loading…
Cancel
Save