diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-05-22 23:33:08 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-05-23 00:08:51 +0200 |
commit | 92ec0ae0a7997aa841106432a319be51b2d446a0 (patch) | |
tree | d72f5edaf450bcb326d6c233db8d326bcfd6e5b9 /spec | |
parent | 3cfcbcf35badfdb21244f7f16c8640cd83b49205 (diff) | |
download | gitlab-ce-92ec0ae0a7997aa841106432a319be51b2d446a0.tar.gz |
Fix migrations for older PostgreSQL versionsfix-retried-for-postgres
- Do not care about error when creating index on PostgreSQL
- Test against PostgreSQL 9.2
Diffstat (limited to 'spec')
-rw-r--r-- | spec/migrations/update_retried_for_ci_builds_spec.rb (renamed from spec/migrations/upate_retried_for_ci_builds_spec.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/migrations/upate_retried_for_ci_builds_spec.rb b/spec/migrations/update_retried_for_ci_builds_spec.rb index 5cdb8a3c7da..3742b4dafe5 100644 --- a/spec/migrations/upate_retried_for_ci_builds_spec.rb +++ b/spec/migrations/update_retried_for_ci_builds_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' -require Rails.root.join('db', 'post_migrate', '20170503004427_upate_retried_for_ci_build.rb') +require Rails.root.join('db', 'post_migrate', '20170503004427_update_retried_for_ci_build.rb') -describe UpateRetriedForCiBuild, truncate: true do +describe UpdateRetriedForCiBuild, truncate: true do let(:pipeline) { create(:ci_pipeline) } let!(:build_old) { create(:ci_build, pipeline: pipeline, name: 'test') } let!(:build_new) { create(:ci_build, pipeline: pipeline, name: 'test') } |