Open
Description
If you set the above flag to true, ActiveRecord prepends the comment (query source) to the query. This causes our regex to fail because it expects the query to start with INSERT/UPDATE/DELETE. A possible fix would be to either ignore the comment or validate presence of these after the comment. The specific matcher that is failing is:
expect { some_code }.to make_database_queries(manipulative: true)
Would love to hear your thoughts on this.
Metadata
Metadata
Assignees
Labels
No labels