let!(:note4){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: author.id,note: 'note for an email@somesite.com and some other random @ ref')}
# this should have pointed to an innexisted commit record in a commits table
# but because commit is not an AR we'll just make it so that it does not have mentions
let!(:note5){notes.create!(commit_id: 'abc',noteable_type: 'Commit',project_id: project.id,author_id: author.id,note: 'note for an email@somesite.com and some other random @ ref')}
let!(:resource1){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: user.id,note: 'note1 for @root to check')}
let!(:resource2){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: user.id,note: 'note1 for @root to check')}
let!(:resource3){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: user.id,note: 'note1 for @root to check',system: true)}
# this note is already migrated, as it has a record in the commit_user_mentions table
let!(:resource4){notes.create!(note: 'note3 for @root to check',commit_id: commit.id,noteable_type: 'Commit')}
let!(:resource1){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: user.id,note: 'note1 for @root to check')}
let!(:resource2){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: user.id,note: 'note1 for @root to check')}
let!(:resource3){notes.create!(commit_id: commit.id,noteable_type: 'Commit',project_id: project.id,author_id: user.id,note: 'note1 for @root to check',system: true)}
# non-migrateable resources
# this note is already migrated, as it has a record in the commit_user_mentions table
let!(:resource4){notes.create!(note: 'note3 for @root to check',commit_id: commit.id,noteable_type: 'Commit')}