diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-01-04 15:20:23 +0530 |
---|---|---|
committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2014-02-10 19:42:39 -0200 |
commit | a09c9f061734436bb59ff3571284800319ae009f (patch) | |
tree | c491709cb7acaf263aa37044d1230179e76d9176 /test/helper.rb | |
parent | 048d6c0aefec9f233a77e9160f426cf2fed1b7f6 (diff) | |
download | rails-a09c9f061734436bb59ff3571284800319ae009f.tar.gz rails-a09c9f061734436bb59ff3571284800319ae009f.tar.bz2 rails-a09c9f061734436bb59ff3571284800319ae009f.zip |
Removed deprecated `Arel::Sql::Engine` and make use of `FakeRecord::Base` inplace directly for test helper.
Diffstat (limited to 'test/helper.rb')
-rw-r--r-- | test/helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.rb b/test/helper.rb index f13596f9ec..1292c09a08 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -4,7 +4,7 @@ require 'fileutils' require 'arel' require 'support/fake_record' -Arel::Table.engine = Arel::Sql::Engine.new(FakeRecord::Base.new) +Arel::Table.engine = FakeRecord::Base.new class Object def must_be_like other |