aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJeremy Kemper <jeremykemper@gmail.com>2014-04-24 16:14:08 -0500
committerJeremy Kemper <jeremykemper@gmail.com>2014-04-24 16:16:45 -0500
commit960707aeda1909c5a56d21e6fa5200acc47cf459 (patch)
treecfaad4617d5ca0795754a423310bd0224ebc8e51 /activerecord
parent1b7aa62b184c4410c99208f71b59bbac5c5f03be (diff)
downloadrails-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.rb2
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|