Skip to content

Commit

Permalink
Use Noticed::Notifications channel in dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jan 23, 2024
1 parent 663690f commit 395db0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions test/delivery_methods/action_cable_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class ActionCableDeliveryMethodTest < ActiveSupport::TestCase

test "sends websocket message" do
user = users(:one)
channel = NotificationChannel.broadcasting_for(user)
channel = Noticed::NotificationChannel.broadcasting_for(user)

set_config(
channel: "NotificationChannel",
channel: "Noticed::NotificationChannel",
stream: user,
message: {foo: :bar}
)
Expand Down
9 changes: 0 additions & 9 deletions test/dummy/app/channels/notification_channel.rb

This file was deleted.

0 comments on commit 395db0a

Please sign in to comment.