mirror of
https://github.com/we-promise/sure.git
synced 2026-04-12 16:47:22 +00:00
Restore the original migration constant name as an alias so old references still resolve during production boot and migration loading. Add a regression test covering the legacy alias.
11 lines
348 B
Ruby
11 lines
348 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "test_helper"
|
|
require Rails.root.join("db/migrate/20260219200001_scope_plaid_item_uniqueness")
|
|
|
|
class ScopePlaidItemUniquenessMigrationTest < ActiveSupport::TestCase
|
|
test "defines the legacy migration constant alias" do
|
|
assert_equal ScopePlaidItemUniqueness, ScopePlaidAccountUniquenessToItem
|
|
end
|
|
end
|