Skip to content

Commit

Permalink
[C] Fix failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
1aurend committed Dec 31, 2024
1 parent e48c842 commit bc9d930
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
3 changes: 2 additions & 1 deletion api/spec/mailers/notifications_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
end

describe "flag notification" do
let(:mail) { NotificationMailer.flag_notification(user, flagged_comment) }
@message = "This is a flag message"
let(:mail) { NotificationMailer.flag_notification(user, flagged_comment, @message) }

it "renders without exception" do
expect(mail.body.encoded).to include(user.first_name)
Expand Down
20 changes: 0 additions & 20 deletions api/spec/requests/users/relationships/reading_groups_spec.rb

This file was deleted.

0 comments on commit bc9d930

Please sign in to comment.