better test name

This commit is contained in:
pmusaraj 2018-09-12 11:09:30 -04:00
parent 11fd18b254
commit b8c0a29bec
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ describe DraftsController do
expect(parsed["drafts"].length).to eq(0) expect(parsed["drafts"].length).to eq(0)
end 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) user_b = Fabricate(:user)
Draft.set(user_b, 'xxx', 0, '{}') Draft.set(user_b, 'xxx', 0, '{}')