Skip to content

RSpec: Infer migration filename also for spec files with schema version

Peter Leitzen requested to merge pl-reqiure-migration-helper into master

What does this MR do and why?

Prior this MR you had to pass a filename to require_migration! in cases where your spec included "schema version" in its filename.

With this MR the helper method is able to infer migration filename even in these scenarios.

Caveats

Heads-up! Due to typos we cannot apply the change to the following files which caused a 🔴 pipeline:

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports