Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two light commits for email #2529

Merged
merged 2 commits into from
Jul 11, 2014
Merged

Two light commits for email #2529

merged 2 commits into from
Jul 11, 2014

Conversation

riking
Copy link
Contributor

@riking riking commented Jul 11, 2014

Better specs and better SiteSettings

riking added 2 commits July 11, 2014 12:26
Makes the tests less likely to silently break
Also, rename MinTrustToCreateTopicSetting to TrustLevelSetting, and apply it to more settings
@discoursebot
Copy link

You've signed the CLA, riking. Thank you! This pull request is ready for review.

nlalonde added a commit that referenced this pull request Jul 11, 2014
Two light commits for email
@nlalonde nlalonde merged commit d45c50f into discourse:master Jul 11, 2014
@riking riking deleted the email branch July 16, 2014 21:13
expect { Email::Receiver.new("asdf" * 30).process}.to raise_error(Email::Receiver::EmptyEmailError)
end

pending "raises EmailUnparsableError in some situation" do
expect { Email::Receiver.new("something").process}.to raise_error(Email::Receiver::EmailUnparsableError)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eviltrout Can you help me figure out how to trigger this test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants