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.
显示
- spec/lib/gitlab/database/migration_helpers_spec.rb 6 个添加, 1 个删除spec/lib/gitlab/database/migration_helpers_spec.rb
- spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb 6 个添加, 1 个删除...tlab/github_import/importer/pull_request_importer_spec.rb
- spec/spec_helper.rb 4 个添加, 0 个删除spec/spec_helper.rb
加载中
想要评论请 注册 或 登录