diff options
Diffstat (limited to 'spec/models/group_spec.rb')
| -rw-r--r-- | spec/models/group_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index 80583243a2f..884726266cb 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -22,4 +22,12 @@ describe Group do it { should validate_presence_of :path } it { should validate_uniqueness_of(:path) } it { should validate_presence_of :owner } + + describe :users do + it { group.users.should == [] } + end + + describe :human_name do + it { group.human_name.should == group.name } + end end |
