diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-12 15:37:06 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-13 14:33:57 -0800 |
commit | dea59f01500bc540314087c726043aca768905c6 (patch) | |
tree | 419151a04a7723c988efa07fddf9636b592779a2 /activerecord/test/cases | |
parent | 01f86cd8ea882bda08071a3e1f5f9e690e83eae9 (diff) | |
download | rails-dea59f01500bc540314087c726043aca768905c6.tar.gz rails-dea59f01500bc540314087c726043aca768905c6.tar.bz2 rails-dea59f01500bc540314087c726043aca768905c6.zip |
removing migration files as they are no longer needed
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/migration/logger_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/migration/logger_test.rb b/activerecord/test/cases/migration/logger_test.rb index 6ea38c2650..c12cdd5043 100644 --- a/activerecord/test/cases/migration/logger_test.rb +++ b/activerecord/test/cases/migration/logger_test.rb @@ -3,7 +3,7 @@ require "cases/helper" module ActiveRecord class Migration class LoggerTest < ActiveRecord::TestCase - Migration = Struct.new(:version) do + Migration = Struct.new(:name, :version) do def migrate direction # do nothing end @@ -12,7 +12,7 @@ module ActiveRecord def test_migration_should_be_run_without_logger previous_logger = ActiveRecord::Base.logger ActiveRecord::Base.logger = nil - migrations = [Migration.new(1), Migration.new(2), Migration.new(3)] + migrations = [Migration.new('a', 1), Migration.new('b', 2), Migration.new('c', 3)] ActiveRecord::Migrator.new(:up, migrations).migrate ensure ActiveRecord::Base.logger = previous_logger |