- comment = create(:note_comment, :author_ip => IPAddr.new("192.168.1.1"))
- assert_equal IPAddr.new("192.168.1.1"), comment.note.author_ip
+ user = create(:user)
+ comment = create(:note_comment, :author => user)
+ assert_equal user, comment.note.author