Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0f550aa3
Commit
0f550aa3
authored
Jun 26, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mass assgnment specs
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
76dca50a
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
0 additions
and
23 deletions
+0
-23
spec/models/gitlab_ci_service_spec.rb
spec/models/gitlab_ci_service_spec.rb
+0
-1
spec/models/issue_spec.rb
spec/models/issue_spec.rb
+0
-2
spec/models/key_spec.rb
spec/models/key_spec.rb
+0
-2
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+0
-2
spec/models/milestone_spec.rb
spec/models/milestone_spec.rb
+0
-1
spec/models/namespace_spec.rb
spec/models/namespace_spec.rb
+0
-2
spec/models/note_spec.rb
spec/models/note_spec.rb
+0
-2
spec/models/project_snippet_spec.rb
spec/models/project_snippet_spec.rb
+0
-1
spec/models/project_spec.rb
spec/models/project_spec.rb
+0
-2
spec/models/protected_branch_spec.rb
spec/models/protected_branch_spec.rb
+0
-1
spec/models/service_spec.rb
spec/models/service_spec.rb
+0
-1
spec/models/snippet_spec.rb
spec/models/snippet_spec.rb
+0
-1
spec/models/user_spec.rb
spec/models/user_spec.rb
+0
-2
spec/models/users_group_spec.rb
spec/models/users_group_spec.rb
+0
-1
spec/models/users_project_spec.rb
spec/models/users_project_spec.rb
+0
-1
spec/models/web_hook_spec.rb
spec/models/web_hook_spec.rb
+0
-1
No files found.
spec/models/gitlab_ci_service_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/issue_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/key_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/merge_request_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/milestone_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/namespace_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/note_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/project_snippet_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/project_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/protected_branch_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/service_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/snippet_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/user_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/users_group_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/users_project_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
spec/models/web_hook_spec.rb
View file @
0f550aa3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment