Lines Matching refs:create
10 let(:user) { create :user }
11 let(:repository) { create :repository, user: user }
37 let (:ontology) { create :ontology, repository: repository }
41 importing = create :ontology, repository: repository
42 create :mapping, target: importing, source: ontology, kind: 'import'
52 repository2 = create :repository
53 importing = create :ontology, repository: repository2
54 create :mapping, target: importing, source: ontology, kind: 'import'
88 let(:editor) { create :user }
89 let(:readers) { [create(:user), create(:user), create(:user)] }
95 create(:permission, subject: editor, role: 'editor', item: repository)
96 readers.each { |r| create(:permission, subject: r, role: 'reader', item: repository) }