mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08:00
better test name
This commit is contained in:
parent
11fd18b254
commit
b8c0a29bec
|
@ -25,7 +25,7 @@ describe DraftsController do
|
|||
expect(parsed["drafts"].length).to eq(0)
|
||||
end
|
||||
|
||||
it 'does not let userA see drafts by userB' do
|
||||
it 'does not let a user see drafts stream of another user' do
|
||||
user_b = Fabricate(:user)
|
||||
Draft.set(user_b, 'xxx', 0, '{}')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user