aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-01-07 03:08:03 -0800
committerYves Senn <yves.senn@gmail.com>2014-01-07 03:08:03 -0800
commitab21f42245b1e6fa9ccf03d4ebe190803add1569 (patch)
treead0902bc0e7077d8c92ebe3834d46d71a25e3321 /activerecord/test/cases/migration
parent3a33e8ea85f025d5ba575318583d1038889a2ba1 (diff)
parenteb589fed6f4950d441bc6aed8dfaaeffec061322 (diff)
downloadrails-ab21f42245b1e6fa9ccf03d4ebe190803add1569.tar.gz
rails-ab21f42245b1e6fa9ccf03d4ebe190803add1569.tar.bz2
rails-ab21f42245b1e6fa9ccf03d4ebe190803add1569.zip
Merge pull request #13597 from prathamesh-sonpatki/hstore_migration
Make change_table use object of current database adapter
Diffstat (limited to 'activerecord/test/cases/migration')
-rw-r--r--activerecord/test/cases/migration/command_recorder_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration/command_recorder_test.rb b/activerecord/test/cases/migration/command_recorder_test.rb
index 1b205d372f..35b656ee43 100644
--- a/activerecord/test/cases/migration/command_recorder_test.rb
+++ b/activerecord/test/cases/migration/command_recorder_test.rb
@@ -4,7 +4,8 @@ module ActiveRecord
class Migration
class CommandRecorderTest < ActiveRecord::TestCase
def setup
- @recorder = CommandRecorder.new
+ connection = ActiveRecord::Base.connection
+ @recorder = CommandRecorder.new(connection)
end
def test_respond_to_delegates