• Jan Provaznik's avatar
    Address specs failing in rails 4 · 134edbd7
    Jan Provaznik authored
    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.
    134edbd7
spec_helper.rb 8.85 KB