cleanup for rubocop
This commit is contained in:
parent
35429d105b
commit
358e844772
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue