test/models/pushing_test.rb in alondra-0.0.4 vs test/models/pushing_test.rb in alondra-0.1.0

- old
+ new

@@ -3,10 +3,10 @@ module Alondra class PushingTest < ActiveSupport::TestCase test "publish created events to the specified channel" do - chat = Factory.create :chat + chat = FactoryGirl.create :chat connection = MockConnection.new message = chat.messages.build(:text => 'test message') channel_name = Channel.default_name_for(chat) assert channel_name =~ /chats\/\d+/ \ No newline at end of file