Extract legacy parts of the codebase into its own module

This commit is contained in:
Liam Morley 2021-11-15 16:07:15 -05:00 committed by rebuilt
parent cf6e80ce6b
commit 413096dfe2
269 changed files with 5549 additions and 5279 deletions

View file

@ -2,7 +2,7 @@ require 'rails_helper'
describe HomeController, type: :controller do
let!(:categories) {
[create(:sqm_category, name: 'Second', sort_index: 2), create(:sqm_category, name: 'First', sort_index: 1)]
[create(:category, name: 'Second', sort_index: 2), create(:category, name: 'First', sort_index: 1)]
}
it 'fetches categories sorted by sort_index' do