diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 08:11:09 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 08:11:09 +0400 |
commit | 2b683b0d0bf90c84b33ec4ed5c70e3bc787094e2 (patch) | |
tree | 041bad694cd0013d52d64e5fd89e32f962b35952 /spec | |
parent | 96105e214f0517d38a4dd1b2140993e03caa1e66 (diff) |
Ability to create project with namespace
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/user_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 4ac699b1c45..3a87499ba22 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -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') } |