From d35a9ac061307e094eafa04d42cac6d1136f0165 Mon Sep 17 00:00:00 2001 From: damau Date: Thu, 31 Jan 2013 10:31:16 +0000 Subject: [PATCH] check service is accepted with connect --- spec/models/notification_service/gtalk_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/notification_service/gtalk_service_spec.rb b/spec/models/notification_service/gtalk_service_spec.rb index a1e5785..91b6469 100644 --- a/spec/models/notification_service/gtalk_service_spec.rb +++ b/spec/models/notification_service/gtalk_service_spec.rb @@ -14,7 +14,7 @@ describe NotificationService::GtalkService do message = double("message") Jabber::JID.should_receive(:new).with(notification_service.subdomain).and_return(jid) Jabber::Client.should_receive(:new).with(jid).and_return(gtalk) - gtalk.should_receive(:connect) + gtalk.should_receive(:connect).with(notification_service.service) gtalk.should_receive(:auth).with(notification_service.api_token) message_value = """#{problem.app.name.to_s} http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s} -- libgit2 0.21.2