cleanup for rubocop

This commit is contained in:
Benjamin Neff 2015-12-19 17:31:53 +01:00
parent 35429d105b
commit 358e844772
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
module DiasporaFederation
class Receiver
# Receiver::Private is used to receive private messages, which are addressed to a specific user, encrypted with his
# public key and packed using Salmon::EncryptedSlap

View file

@ -20,7 +20,7 @@ module DiasporaFederation
expect(DiasporaFederation.callbacks).to receive(:trigger)
.with(:queue_public_receive, "<diaspora/>")
post :public, xml: CGI::escape("<diaspora/>")
post :public, xml: CGI.escape("<diaspora/>")
end
end
@ -53,7 +53,7 @@ module DiasporaFederation
.with(:queue_private_receive, "any-guid", "<diaspora/>")
.and_return(true)
post :private, guid: "any-guid", xml: CGI::escape("<diaspora/>")
post :private, guid: "any-guid", xml: CGI.escape("<diaspora/>")
end
end
end