X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/23c79ba2a39288dc69fff7b0587004545c40e941..feb3b03227dae5e41e631b1df90afc879355617d:/test/models/note_test.rb diff --git a/test/models/note_test.rb b/test/models/note_test.rb index 6525ee5f6..d4bd36e74 100644 --- a/test/models/note_test.rb +++ b/test/models/note_test.rb @@ -54,7 +54,7 @@ class NoteTest < ActiveSupport::TestCase comment = create(:note_comment) assert_nil comment.note.author - comment = create(:note_comment, :author_id => users(:normal_user).id) + comment = create(:note_comment, :author => users(:normal_user)) assert_equal users(:normal_user), comment.note.author end