test/test_helper.rb in delocalize-0.2.5 vs test/test_helper.rb in delocalize-0.2.6
- old
+ new
@@ -5,10 +5,10 @@
if rails_version.to_i == 2
require File.expand_path(File.join(File.dirname(__FILE__), "rails2_app/config/environment"))
require 'test_help'
else
- require File.expand_path(File.join(File.dirname(__FILE__), "rails3_app/config/environment"))
+ require File.expand_path(File.join(File.dirname(__FILE__), "rails#{rails_version}_app/config/environment"))
require 'rails/test_help'
end
I18n.backend.store_translations :de, {
:date => {