diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-25 11:57:01 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-25 11:57:01 +0200 |
| commit | c31d48dd250c56164280343a2cbe6ae14bd72a4a (patch) | |
| tree | 7da7fbc4ad8b511e815445c4e6e8b7fe508ee5e2 /spec/models/project_spec.rb | |
| parent | 2f22874ba6b26c1653bd72d9bcac0bee9e24de8a (diff) | |
| download | gitlab-ce-c31d48dd250c56164280343a2cbe6ae14bd72a4a.tar.gz | |
Allow project creation in scope of group for non-admin but group owners
Diffstat (limited to 'spec/models/project_spec.rb')
| -rw-r--r-- | spec/models/project_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 4fb5f50c98a..db0d30727b4 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -40,6 +40,7 @@ describe Project do end describe "Mass assignment" do + it { should_not allow_mass_assignment_of(:namespace_id) } it { should_not allow_mass_assignment_of(:owner_id) } it { should_not allow_mass_assignment_of(:private_flag) } end |
