Skip to content
Browse files

Fix benchmark file.

  • Loading branch information...
1 parent ccecff2 commit 5a40ac7d2f663487ba8bb4de1271a7e2cea16238 @josevalim josevalim committed Oct 29, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 benchmark/run.rb
View
7 benchmark/run.rb
@@ -18,12 +18,13 @@ module Backends
if DATA_STORES
require 'rubygems'
- require File.expand_path('../../test/test_setup_requirements', __FILE__)
+ require File.expand_path('../../test/test_setup/active_record', __FILE__)
+ require File.expand_path('../../test/test_setup/rufus_tokyo', __FILE__)
- setup_active_record
+ Test.setup_active_record
ActiveRecord = I18n::Backend::ActiveRecord.new if defined?(::ActiveRecord)
- setup_rufus_tokyo
+ Test.setup_rufus_tokyo
TokyoCabinet = I18n::Backend::KeyValue.new(Rufus::Tokyo::Cabinet.new("*"), true) if defined?(::Rufus::Tokyo)
end
end

0 comments on commit 5a40ac7

Please sign in to comment.
Something went wrong with that request. Please try again.