topic spec owner
This commit is contained in:
parent
d2680fd9f3
commit
ca282f7879
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ RSpec.describe Topic, type: :model do
|
|||
end
|
||||
|
||||
context 'permssions' do
|
||||
let(:owner) { create :user }
|
||||
let(:other_user) { create :user }
|
||||
let(:topic) { create :topic, user: owner, permission: :commons }
|
||||
let(:private_topic) { create :topic, user: owner, permission: :private }
|
||||
|
|
Loading…
Reference in a new issue