Ability to create project with namespace
This commit is contained in:
parent
96105e214f
commit
2b683b0d0b
10 changed files with 62 additions and 6 deletions
|
@ -36,6 +36,7 @@ require 'spec_helper'
|
|||
|
||||
describe User do
|
||||
describe "Associations" do
|
||||
it { should have_one(:namespace) }
|
||||
it { should have_many(:users_projects).dependent(:destroy) }
|
||||
it { should have_many(:projects) }
|
||||
it { should have_many(:my_own_projects).class_name('Project') }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue