remaining conflicts
This commit is contained in:
parent
5417dc7ab9
commit
08fbcfc386
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Chat::Api::TrackingController < Chat::Api
|
||||
class Chat::Api::TrackingController < Chat::ApiController
|
||||
def read
|
||||
params.permit(:channel_id, :message_id)
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec.describe Chat::Service::MarkAllUserChannelsRead do
|
||||
RSpec.describe Chat::MarkAllUserChannelsRead do
|
||||
describe ".call" do
|
||||
subject(:result) { described_class.call(params) }
|
||||
|
||||
@ -78,12 +78,12 @@ RSpec.describe Chat::Service::MarkAllUserChannelsRead do
|
||||
let(:messages) { MessageBus.track_publish { result } }
|
||||
|
||||
before do
|
||||
ChatMention.create!(
|
||||
Chat::Mention.create!(
|
||||
notification: notification_1,
|
||||
user: current_user,
|
||||
chat_message: message_1,
|
||||
)
|
||||
ChatMention.create!(
|
||||
Chat::Mention.create!(
|
||||
notification: notification_2,
|
||||
user: current_user,
|
||||
chat_message: message_3,
|
||||
Reference in New Issue
Block a user