diff options
author | Jeremy Kemper <jeremykemper@gmail.com> | 2014-04-24 16:14:08 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremykemper@gmail.com> | 2014-04-24 16:16:45 -0500 |
commit | 960707aeda1909c5a56d21e6fa5200acc47cf459 (patch) | |
tree | cfaad4617d5ca0795754a423310bd0224ebc8e51 /activerecord | |
parent | 1b7aa62b184c4410c99208f71b59bbac5c5f03be (diff) | |
download | rails-960707aeda1909c5a56d21e6fa5200acc47cf459.tar.gz rails-960707aeda1909c5a56d21e6fa5200acc47cf459.tar.bz2 rails-960707aeda1909c5a56d21e6fa5200acc47cf459.zip |
No need for trailing slash on migration path.
Causes a double // in Dir.glob that breaks Ruby 2.2-trunk.
Not really a bug, but not relevant to this test either.
Originally added in ed21f0c50270139ddb6993acfdaea4586ffd09a3
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/migrator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migrator_test.rb b/activerecord/test/cases/migrator_test.rb index c77a818b93..9568aa2217 100644 --- a/activerecord/test/cases/migrator_test.rb +++ b/activerecord/test/cases/migrator_test.rb @@ -92,7 +92,7 @@ module ActiveRecord def test_relative_migrations list = Dir.chdir(MIGRATIONS_ROOT) do - ActiveRecord::Migrator.migrations("valid/") + ActiveRecord::Migrator.migrations("valid") end migration_proxy = list.find { |item| |