Skip to content

Suppress messages for the "should rename table on 7_0 and below" spec #2451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

yahonda
Copy link
Collaborator

@yahonda yahonda commented Jun 23, 2025

This commit suppresses the following migration standard output.

$ bundle exec rspec spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb:21
==> Loading config from ENV or use default
==> Running specs with ruby version 3.4.4
==> Effective ActiveRecord version 8.0.2
Run options: include {locations: {"./spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb" => [21]}}
==  : migrating ===============================================================
-- rename_table(:test_employees, :new_test_employees)
   -> 0.2045s
==  : migrated (0.2045s) ======================================================

==  : reverting ===============================================================
-- rename_table(:new_test_employees, :test_employees)
   -> 0.2033s
==  : reverted (0.2046s) ======================================================

.

Finished in 0.68775 seconds (files took 0.34644 seconds to load)
1 example, 0 failures

$

Follow up #2418

This commit suppresses the following migration standard output.

```ruby
$ bundle exec rspec spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb:21
==> Loading config from ENV or use default
==> Running specs with ruby version 3.4.4
==> Effective ActiveRecord version 8.0.2
Run options: include {locations: {"./spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb" => [21]}}
==  : migrating ===============================================================
-- rename_table(:test_employees, :new_test_employees)
   -> 0.2045s
==  : migrated (0.2045s) ======================================================

==  : reverting ===============================================================
-- rename_table(:new_test_employees, :test_employees)
   -> 0.2033s
==  : reverted (0.2046s) ======================================================

.

Finished in 0.68775 seconds (files took 0.34644 seconds to load)
1 example, 0 failures

$
```

Follow up rsim#2418
@yahonda yahonda marked this pull request as ready for review June 23, 2025 11:56
@yahonda yahonda merged commit f0b79dc into rsim:master Jun 23, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant