Commit 0f550aa3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove mass assgnment specs

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 76dca50a
......@@ -26,7 +26,6 @@ describe GitlabCiService do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe 'commits methods' do
......
......@@ -25,8 +25,6 @@ describe Issue do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:author_id) }
it { should_not allow_mass_assignment_of(:project_id) }
end
describe 'modules' do
......
......@@ -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
......
......@@ -28,8 +28,6 @@ describe MergeRequest do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:author_id) }
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Respond to" do
......
......@@ -22,7 +22,6 @@ describe Milestone do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validation" do
......
......@@ -26,8 +26,6 @@ describe Namespace do
it { should validate_presence_of :owner }
describe "Mass assignment" do
it { should allow_mass_assignment_of(:name) }
it { should allow_mass_assignment_of(:path) }
end
describe "Respond to" do
......
......@@ -27,8 +27,6 @@ describe Note do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:author) }
it { should_not allow_mass_assignment_of(:author_id) }
end
describe "Validation" do
......
......@@ -23,7 +23,6 @@ describe ProjectSnippet do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validation" do
......
......@@ -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
......
......@@ -17,7 +17,6 @@ describe ProtectedBranch do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe 'Validation' do
......
......@@ -27,7 +27,6 @@ describe Service do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Test Button" do
......
......@@ -24,7 +24,6 @@ describe Snippet do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:author_id) }
end
describe "Validation" do
......
......@@ -65,8 +65,6 @@ describe User do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:projects_limit) }
it { should allow_mass_assignment_of(:projects_limit).as(:admin) }
end
describe 'validations' do
......
......@@ -20,7 +20,6 @@ describe UsersGroup do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:group_id) }
end
describe "Validation" do
......
......@@ -20,7 +20,6 @@ describe UsersProject do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validation" do
......
......@@ -23,7 +23,6 @@ describe ProjectHook do
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validations" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment