Skip to content

Commit

Permalink
More test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
djmb committed Aug 22, 2024
1 parent 36f15a4 commit 25485a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions railties/test/application/bin_setup_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def test_bin_setup_output
# Ignore warnings such as `Psych.safe_load is deprecated`
output.gsub!(/^.*warning:\s.*\n/, "")
output.gsub!(/^A new release of RubyGems is available.*\n.*\n/, "")
# Ignore the Solid Cache migration messages
output.gsub!(/== \d{14} CreateSolidCacheEntries:.* migrating ==========================\n.*== \d{14} CreateSolidCacheEntries: migrated \([\d.]*s\) =================\n\n/m, "")

assert_equal(<<~OUTPUT, output)
== Installing dependencies ==
Expand Down
3 changes: 3 additions & 0 deletions railties/test/generators/plugin_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@
test/dummy/config/locales/en.yml
test/dummy/config/puma.rb
test/dummy/config/routes.rb
test/dummy/config/solid_cache.yml
test/dummy/config/storage.yml
test/dummy/log/.keep
test/dummy/log/test.log
test/dummy/public/404.html
test/dummy/public/406-unsupported-browser.html
test/dummy/public/422.html
Expand All @@ -68,6 +70,7 @@
test/dummy/public/icon.svg
test/dummy/storage/.keep
test/dummy/tmp/.keep
test/dummy/tmp/local_secret.txt
test/dummy/tmp/pids/.keep
test/dummy/tmp/storage/.keep
test/test_helper.rb
Expand Down

0 comments on commit 25485a5

Please sign in to comment.