diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-10 21:10:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-10 21:10:15 +0000 |
commit | e109a7799eb2c5598211c4cc1e0c83d5beb44018 (patch) | |
tree | d72aa61dbb5b04bb0f25232660591963bc1f03b8 /spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb | |
parent | cba8ff64401258aa68eebd7603d4022884ed0a45 (diff) | |
download | gitlab-ce-e109a7799eb2c5598211c4cc1e0c83d5beb44018.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb')
-rw-r--r-- | spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb b/spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb index 9d0ad5863c6..6c782af9a31 100644 --- a/spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb +++ b/spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb @@ -13,7 +13,7 @@ RSpec.describe BackfillAndAddNotNullConstraintToReleasedAtColumnOnReleasesTable it 'fills released_at with the value of created_at' do created_at_a = Time.zone.parse('2019-02-10T08:00:00Z') created_at_b = Time.zone.parse('2019-03-10T18:00:00Z') - namespace = namespaces.create(name: 'foo', path: 'foo') + namespace = namespaces.create!(name: 'foo', path: 'foo') project = projects.create!(namespace_id: namespace.id) release_a = releases.create!(project_id: project.id, created_at: created_at_a) release_b = releases.create!(project_id: project.id, created_at: created_at_b) |