mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
attempt to fix the UTF-8 warn in the log, turns out this runs really deep, when you hit deliver in test it clones the mail not setting charset properly, leaving as is for today but fixing prod at least
This commit is contained in:
@ -13,22 +13,12 @@ describe SystemMessage do
|
||||
let(:post) { system_message.create(:welcome_invite) }
|
||||
let(:topic) { post.topic }
|
||||
|
||||
it 'should create a post' do
|
||||
it 'should create a post correctly' do
|
||||
post.should be_present
|
||||
end
|
||||
|
||||
it 'should be a private message' do
|
||||
topic.should be_private_message
|
||||
end
|
||||
|
||||
it 'should have the correct topic subtype' do
|
||||
topic.subtype.should == TopicSubtype.system_message
|
||||
end
|
||||
|
||||
it 'should be visible by the user' do
|
||||
topic.allowed_users.include?(user).should be_true
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
context '#system_user' do
|
||||
|
Reference in New Issue
Block a user