Permalink
Browse files

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 ed21f0c
  • Loading branch information...
jeremy committed Apr 24, 2014
1 parent 1b7aa62 commit 960707aeda1909c5a56d21e6fa5200acc47cf459
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/migrator_test.rb
@@ -92,7 +92,7 @@ def test_finds_migrations_in_numbered_directory
def test_relative_migrations
list = Dir.chdir(MIGRATIONS_ROOT) do
- ActiveRecord::Migrator.migrations("valid/")
+ ActiveRecord::Migrator.migrations("valid")
end
migration_proxy = list.find { |item|

0 comments on commit 960707a

Please sign in to comment.