Skip to content

Conversation

@aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Apr 22, 2021

Noticed that the BasePreventWritesTest::BasePreventWritesLegacyTest#test_0006_an empty transaction does not raise if preventing writes test is still failing (see https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/runs/2409001850) even though it was being coerced in #901

The issue is that the coerce is for the BasePreventWritesLegacyTest class not the BasePreventWritesTest::BasePreventWritesLegacyTest class (https://github.com/rails/rails/blob/738ca3595fb88580a84072b31ce8a999af4762d6/activerecord/test/cases/base_prevent_writes_test.rb#L98).

This PR just moves the class into the correct namespace.

@aidanharan aidanharan changed the title Fixed the namespace of the BasePreventWritesLegacyTest class Rails 6.1: Fixed the namespace of the BasePreventWritesLegacyTest class Apr 22, 2021
@aidanharan aidanharan marked this pull request as ready for review April 22, 2021 13:58
@wpolicarpo wpolicarpo merged commit df110e8 into rails-sqlserver:main Apr 22, 2021
lavika pushed a commit to lavika/activerecord-sqlserver-adapter that referenced this pull request Sep 26, 2023
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.

2 participants