Commit b0c8de1f authored by Stan Hu's avatar Stan Hu

Merge branch 'jprovazn-internal-id-spec' into 'master'

Fix failing spec/models/internal_id_spec.rb spec

Closes #63698

See merge request gitlab-org/gitlab-ce!30027
parents 05a7fcbd 813b8aad
...@@ -158,7 +158,7 @@ describe InternalId do ...@@ -158,7 +158,7 @@ describe InternalId do
before do before do
described_class.reset_column_information described_class.reset_column_information
# Project factory will also call the current_version # Project factory will also call the current_version
expect(ActiveRecord::Migrator).to receive(:current_version).twice.and_return(InternalId::REQUIRED_SCHEMA_VERSION - 1) expect(ActiveRecord::Migrator).to receive(:current_version).at_least(:once).and_return(InternalId::REQUIRED_SCHEMA_VERSION - 1)
end end
it 'does not reset any of the iids' do it 'does not reset any of the iids' do
......
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