Remove mass assgnment specs

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2014-06-26 23:57:55 +03:00
parent 76dca50abe
commit 0f550aa386
16 changed files with 0 additions and 23 deletions
-1
View File
@@ -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
-2
View File
@@ -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
-2
View File
@@ -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
-2
View File
@@ -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
-1
View File
@@ -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
-2
View File
@@ -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
-2
View File
@@ -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
-1
View File
@@ -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
-2
View File
@@ -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
-1
View File
@@ -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
-1
View File
@@ -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
-1
View File
@@ -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
-2
View File
@@ -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
-1
View File
@@ -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
-1
View File
@@ -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
-1
View File
@@ -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