Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix benchmark file.

  • Loading branch information...
commit 5a40ac7d2f663487ba8bb4de1271a7e2cea16238 1 parent ccecff2
@josevalim josevalim authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.