Commit 82f76757 authored by Thong Kuah's avatar Thong Kuah

Ensure DB migration is run after testing down

This prevents the old index from persisting after this spec is run, and
causing subsequent specs to fail
parent 6700c65b
......@@ -29,6 +29,10 @@ RSpec.describe ReplaceUniqueIndexOnCycleAnalyticsStages, :migration, schema: 202
stage_record
end
after do
described_class.new.up
end
it 'removes duplicated stage records' do
subject
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment