-
- Downloads
Address specs failing in rails 4
We want to run CI with rails 4 for a short-term (until we are sure that we will ship with rails 5). The problem is that rails 4 can not handle rails 5 schema.rb properly - specifically `t.index` directive can not handle multiple indexes on the same column. Because combination of rails 4 + rails 5 schema will be used only in CI for a short-term, we can just ignore these incompatibility failures. This patch adds `rails5` helper for specs.
Showing
- spec/lib/gitlab/database/migration_helpers_spec.rb 6 additions, 1 deletionspec/lib/gitlab/database/migration_helpers_spec.rb
- spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb 6 additions, 1 deletion...tlab/github_import/importer/pull_request_importer_spec.rb
- spec/spec_helper.rb 4 additions, 0 deletionsspec/spec_helper.rb
Please register or sign in to comment