diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-07 18:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-07 18:08:49 +0300 |
commit | a93bf027c2619af8c11b030414c339346f13ead6 (patch) | |
tree | 283f1b4096a255a535a79c60ebe2445a9e5df4d2 /spec/migrations/active_record | |
parent | 0254867cf0f3341fd63cc6da07290f1da91f99ef (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/migrations/active_record')
-rw-r--r-- | spec/migrations/active_record/schema_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/active_record/schema_spec.rb b/spec/migrations/active_record/schema_spec.rb index d26e6437b32..8199f55f5fc 100644 --- a/spec/migrations/active_record/schema_spec.rb +++ b/spec/migrations/active_record/schema_spec.rb @@ -25,6 +25,6 @@ RSpec.describe ActiveRecord::Schema, schema: :latest do it 'the schema_migrations table contains all schema versions' do versions = ActiveRecord::Base.connection.execute('SELECT version FROM schema_migrations ORDER BY version').map { |m| Integer(m['version']) } - expect(versions).to eq(all_migrations) + expect(versions).to match_array(all_migrations) end end |