Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces

This commit is contained in:
Dmitriy Zaporozhets 2012-11-29 07:29:11 +03:00
parent a1ffc673b9
commit eb1004f789
18 changed files with 127 additions and 53 deletions

View file

@ -24,7 +24,7 @@ describe Group do
it { should validate_presence_of :owner }
describe :users do
it { group.users.should == [] }
it { group.users.should == [group.owner] }
end
describe :human_name do