mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:31:10 +08:00
UX: better rejection message when reply via email is too short
This commit is contained in:
@ -207,7 +207,7 @@ describe Email::Receiver do
|
||||
end
|
||||
|
||||
it "raises an InvalidPost when there was an error while creating the post" do
|
||||
expect { process(:too_small) }.to raise_error(Email::Receiver::InvalidPost)
|
||||
expect { process(:too_small) }.to raise_error(Email::Receiver::TooShortPost)
|
||||
end
|
||||
|
||||
it "raises an InvalidPost when there are too may mentions" do
|
||||
|
Reference in New Issue
Block a user