DEV: Remove unused comments from tests. (#13241)

Fabrication does not guarantee the ordering of records in anyway.
This commit is contained in:
Alan Guo Xiang Tan 2021-06-02 13:33:15 +08:00 committed by GitHub
parent 4390b50b12
commit c809f722f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3,10 +3,10 @@
require 'rails_helper'
describe Report do
let(:user) { Fabricate(:user) } # id: 3
let(:c0) { Fabricate(:category, user: user) } # id: 3
let(:user) { Fabricate(:user) }
let(:c0) { Fabricate(:category, user: user) }
let(:c1) { Fabricate(:category, parent_category: c0, user: user) } # id: 2
let(:c2) { Fabricate(:category, user: user) } # id: 4
let(:c2) { Fabricate(:category, user: user) }
shared_examples 'no data' do
context "with no data" do