From 93e0ba06d41c52fb852d34fde66614a8d12154f1 Mon Sep 17 00:00:00 2001 From: Drew Regitsky Date: Tue, 29 Dec 2015 18:00:18 -0800 Subject: [PATCH] fix(signatures-tests): update tests for new signatures code --- .../spec/signature-composer-extension-spec.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal_packages/composer-signature/spec/signature-composer-extension-spec.coffee b/internal_packages/composer-signature/spec/signature-composer-extension-spec.coffee index 20feba5b4..9bb60f1b5 100644 --- a/internal_packages/composer-signature/spec/signature-composer-extension-spec.coffee +++ b/internal_packages/composer-signature/spec/signature-composer-extension-spec.coffee @@ -6,7 +6,7 @@ describe "SignatureComposerExtension", -> describe "prepareNewDraft", -> describe "when a signature is defined", -> beforeEach -> - @signature = "
This is my signature.
" + @signature = '
This is my signature.
' spyOn(NylasEnv.config, 'get').andCallFake => @signature @@ -19,9 +19,9 @@ describe "SignatureComposerExtension", -> body: 'This is a another test.' SignatureComposerExtension.prepareNewDraft(a) - expect(a.body).toEqual("This is a test!
This is my signature.
Hello world
") + expect(a.body).toEqual('This is a test!
This is my signature.
Hello world
') SignatureComposerExtension.prepareNewDraft(b) - expect(b.body).toEqual("This is a another test
This is my signature.
") + expect(b.body).toEqual('This is a another test
This is my signature.
') describe "when a signature is not defined", -> beforeEach ->