mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 21:57:50 +08:00
Convert Post type constants to Enum
This commit is contained in:
@ -514,7 +514,7 @@ describe Topic do
|
||||
end
|
||||
|
||||
it 'has the moderator action type' do
|
||||
@mod_post.post_type.should == Post::MODERATOR_ACTION
|
||||
@mod_post.post_type.should == Post.types[:moderator_action]
|
||||
end
|
||||
|
||||
it 'increases the moderator_posts count' do
|
||||
|
Reference in New Issue
Block a user