fixed test-unit dependency issue

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@169 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 1284043503
commit 36bde341cd
  1. 6
      spec/spec_helper.rb

@ -1,3 +1,9 @@
# prevent case where we are using rubygems and test-unit 2.x is installed
begin
gem "test-unit", "~> 1.2.3"
rescue LoadError
end
begin
require "config/environment" unless defined? RAILS_ROOT
require RAILS_ROOT + '/spec/spec_helper'

Loading…
Cancel
Save