diff options
author | Dino Maric <dino.onex@gmail.com> | 2017-08-08 16:47:38 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-08 09:47:38 -0500 |
commit | 4b72bee47bb590efac498ad2494efa769350aabd (patch) | |
tree | fbaf8f950f14bcaff4fd43b5ccd02c957cd161a1 /railties/test | |
parent | 6089b3140dedc087d80d67fe4c60f280db9e8d6e (diff) | |
download | rails-4b72bee47bb590efac498ad2494efa769350aabd.tar.gz rails-4b72bee47bb590efac498ad2494efa769350aabd.tar.bz2 rails-4b72bee47bb590efac498ad2494efa769350aabd.zip |
ActiveStorage:Add migrations per rails engine conventions (#30111)
* Add migrations per rails engine conventions
* Fix failing tests
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/railties/engine_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index 145c2ec7b6..ea942a3975 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -136,7 +136,7 @@ module RailtiesTest output = `bundle exec rake railties:install:migrations`.split("\n") assert_match(/Copied migration \d+_create_users\.bukkits\.rb from bukkits/, output.first) - assert_match(/Copied migration \d+_create_blogs\.blog_engine\.rb from blog_engine/, output.last) + assert_match(/Copied migration \d+_create_blogs\.blog_engine\.rb from blog_engine/, output.second) end end @@ -171,7 +171,7 @@ module RailtiesTest Dir.chdir(app_path) do output = `bundle exec rake railties:install:migrations`.split("\n") - assert_match(/Copied migration \d+_create_users\.core_engine\.rb from core_engine/, output.first) + assert_match(/Copied migration \d+_create_users\.core_engine\.rb from core_engine/, output.second) assert_match(/Copied migration \d+_create_keys\.api_engine\.rb from api_engine/, output.last) end end |