]> source.dussan.org Git - redmine.git/commit
Ruby 1.9: fix tests error due to require path at test/test_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 13 Nov 2011 11:47:08 +0000 (11:47 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 13 Nov 2011 11:47:08 +0000 (11:47 +0000)
commitc54b33ddca34c7a82538067b5d92935304f0f944
tree3e8ee6d8c68b1f630ff22bfcc59b506ae24da271
parentb4f935bdfec802c40f52d4da4560b96d2b8a55a6
Ruby 1.9: fix tests error due to require path at test/test_helper.rb

Following error raises.

<pre>
/home/xxxxxx/.rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.11/lib/rails/gem_dependency.rb:277:in `==':
   undefined method `name' for "actionmailer":String (NoMethodError)
...
from /REDMINE-1/hg-workdir/redmine-bb-all/test/test_helper.rb:19:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from test/unit/changeset_test.rb:20:in `<main>'
</pre>

Moreover, in order to run tests on Ruby 1.9.2, Rails needs to be 2.3.14.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7802 e93f8b46-1217-0410-a6f0-8f06a7374b81
test/test_helper.rb