diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-30 17:01:22 +0000 | 
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-30 17:01:22 +0000 | 
| commit | 4f0bfdb500b7f72a8e817d1224eaba6ed46204bc (patch) | |
| tree | 5b1daaaf1a15aa659190288bd3fc23cead46f591 /spec/models/project_spec.rb | |
| parent | 76e36dd253229d580f2c6336a77e5fc403fe90c3 (diff) | |
| parent | 4967c087862e5c7c5009605000380d4451ce07ec (diff) | |
| download | gitlab-ce-4f0bfdb500b7f72a8e817d1224eaba6ed46204bc.tar.gz | |
Merge branch 'strong-parameters' into 'master'
Strong parameters
Replace protected_attributes with strong parameters.
Fixes #1340
Diffstat (limited to 'spec/models/project_spec.rb')
| -rw-r--r-- | spec/models/project_spec.rb | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 93eae5a9ebd..c3263ed0fe7 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -48,8 +48,6 @@ describe Project do    end    describe "Mass assignment" do -    it { should_not allow_mass_assignment_of(:namespace_id) } -    it { should_not allow_mass_assignment_of(:creator_id) }    end    describe "Validation" do  | 
