Skip to content

Commit

Permalink
Updates unit tests for latest notes changes
Browse files Browse the repository at this point in the history
Updates notes unit tests to work with the latest notes changes.
  • Loading branch information
nenad-vujicic committed Feb 10, 2025
1 parent 6be7d2a commit 2f87fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/api/notes_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def test_comment_with_notifications_success
second_user = create(:user)
third_user = create(:user)

note_with_comments_by_users = create(:note) do |note|
note_with_comments_by_users = create(:note, :author => first_user) do |note|
create(:note_comment, :note => note, :author => first_user)
create(:note_comment, :note => note, :author => second_user)
end
Expand Down

0 comments on commit 2f87fc4

Please sign in to comment.