From 521ced38c5c8a78c5c95f65a53b1d7c76c842bed Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 19 Jan 2017 14:01:51 -0800 Subject: [PATCH] fix spec for default email title --- spec/components/email/receiver_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/components/email/receiver_spec.rb b/spec/components/email/receiver_spec.rb index 47c7c4a1dac..3019c5a780f 100644 --- a/spec/components/email/receiver_spec.rb +++ b/spec/components/email/receiver_spec.rb @@ -341,7 +341,7 @@ describe Email::Receiver do it "handles email with no subject" do expect { process(:no_subject) }.to change(Topic, :count) - expect(Topic.last.title).to eq("Incoming email from some@one.com") + expect(Topic.last.title).to eq("This topic needs a title") end it "invites everyone in the chain but emails configured as 'incoming' (via reply, group or category)" do