mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Use describe for methods in specs
This commit is contained in:
committed by
Loïc Guitaut
parent
f1c3670d74
commit
296aad430a
@@ -5,7 +5,7 @@ describe PostValidator do
|
||||
let(:post) { build(:post, topic: topic) }
|
||||
let(:validator) { PostValidator.new({}) }
|
||||
|
||||
context "#post_body_validator" do
|
||||
describe "#post_body_validator" do
|
||||
it 'should not allow a post with an empty raw' do
|
||||
post.raw = ""
|
||||
validator.post_body_validator(post)
|
||||
|
||||
Reference in New Issue
Block a user