lib/flapjack/notifiers/xmpp/xmpp.rb in flapjack-0.4.12 vs lib/flapjack/notifiers/xmpp/xmpp.rb in flapjack-0.5.1

- old
+ new

@@ -29,11 +29,11 @@ raise ArgumentError, "a recipient was not specified" unless opts[:who] raise ArgumentError, "a result was not specified" unless opts[:result] text = <<-DESC - Check #{opts[:result].id} returned the status "#{opts[:result].status}". - http://localhost:4000/checks/#{opts[:result].id} + Check #{opts[:result].check_id} returned the status "#{opts[:result].status}". + http://localhost:4000/checks/#{opts[:result].check_id} DESC message = Jabber::Message.new(opts[:who].jid, text) @xmpp.send(message)