fix spec for default email title

This commit is contained in:
Jeff Atwood 2017-01-19 14:01:51 -08:00
parent c421b0d892
commit 521ced38c5
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ describe Email::Receiver do
it "handles email with no subject" do it "handles email with no subject" do
expect { process(:no_subject) }.to change(Topic, :count) 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 end
it "invites everyone in the chain but emails configured as 'incoming' (via reply, group or category)" do it "invites everyone in the chain but emails configured as 'incoming' (via reply, group or category)" do