DEV: Fix test

DEV: Fix test

diff --git a/test/javascripts/acceptance/encrypt-test.js.es6 b/test/javascripts/acceptance/encrypt-test.js.es6
index c2a9f40..8ac5367 100644
--- a/test/javascripts/acceptance/encrypt-test.js.es6
+++ b/test/javascripts/acceptance/encrypt-test.js.es6
@@ -214,7 +214,7 @@ test("posting does not leak plaintext", async assert => {
     assert.equal(body.raw, I18n.t("encrypt.encrypted_post"));
     assert.equal(body.title, I18n.t("encrypt.encrypted_topic_title"));
     assert.equal(body.archetype, "private_message");
-    assert.equal(body.target_usernames, "eviltrout");
+    assert.equal(body.target_recipients || body.target_usernames, "eviltrout");
     assert.equal(body.draft_key, "new_topic");
     assert.equal(body.is_encrypted, "true");
     assert.ok(body.encrypted_title.startsWith("1$"));

GitHub sha: ee85dc94