summaryrefslogtreecommitdiff
path: root/spec/models/key_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 23:57:55 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-26 23:57:55 +0300
commit0f550aa386eac5daf2c357786e76afb42e6b0ac2 (patch)
tree2550ddda2a152e42d380d3040d5b2d678e8882f8 /spec/models/key_spec.rb
parent76dca50abee38e1bff2e551534c2b40bdb9d5082 (diff)
downloadgitlab-ce-0f550aa386eac5daf2c357786e76afb42e6b0ac2.tar.gz
Remove mass assgnment specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/models/key_spec.rb')
-rw-r--r--spec/models/key_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb
index 474067fe38a..95c0aed0ffe 100644
--- a/spec/models/key_spec.rb
+++ b/spec/models/key_spec.rb
@@ -20,8 +20,6 @@ describe Key do
end
describe "Mass assignment" do
- it { should_not allow_mass_assignment_of(:project_id) }
- it { should_not allow_mass_assignment_of(:user_id) }
end
describe "Validation" do