File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def mark_all_read(user_id)
363363 # Get unread count for a user.
364364 sig { params ( user_id : String ) . returns ( StreamChat ::StreamResponse ) }
365365 def get_unread_count ( user_id )
366- get ( " /unread" , params : { user_id : user_id } )
366+ get ( ' /unread' , params : { user_id : user_id } )
367367 end
368368
369369 # Pins a message.
Original file line number Diff line number Diff line change @@ -562,13 +562,13 @@ def loop_times(times)
562562 expect ( resp [ 'total_unread_count' ] ) . to eq 0
563563 end
564564
565- it " gets unread count if there are unread messages" do
565+ it ' gets unread count if there are unread messages' do
566566 @channel . send_message ( { text : 'Hello world' } , @random_user [ :id ] )
567567 resp = @client . get_unread_count ( @user_id )
568568 expect ( resp [ 'total_unread_count' ] ) . to eq 1
569569 end
570570
571- it " gets unread count for a channel" do
571+ it ' gets unread count for a channel' do
572572 @message = @channel . send_message ( { text : 'Hello world' } , @random_user [ :id ] )
573573 resp = @client . get_unread_count ( @user_id )
574574 expect ( resp [ 'total_unread_count' ] ) . to eq 1
You can’t perform that action at this time.
0 commit comments