Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update factory bot to factory bot 5 #371

Merged
merged 6 commits into from
Sep 27, 2024
Merged

Conversation

yuenmichelle1
Copy link
Collaborator

Update factory_bot to factory_bot ~v5. Fix failing mention_spec to include comment on mention creation

@yuenmichelle1 yuenmichelle1 marked this pull request as ready for review September 23, 2024 16:38
expect(MentionWorker).to receive(:perform_async)
mention.save!
end
end

describe '#notify_mentioned' do
it 'should notify of the mention' do
subject_mentioned =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you may have forgotten this. But for that, all looks good

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops! good catch. i must have accidentally typed this when i was debugging

@yuenmichelle1 yuenmichelle1 merged commit b5c844f into master Sep 27, 2024
2 checks passed
@yuenmichelle1 yuenmichelle1 deleted the update-factory-bot branch October 31, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants