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
0
Merge Requests
0
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
Kazuhiko Shiozaki
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
...
@@ -26,7 +26,6 @@ describe GitlabCiService do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
'commits methods'
do
describe
'commits methods'
do
...
...
spec/models/issue_spec.rb
View file @
0f550aa3
...
@@ -25,8 +25,6 @@ describe Issue do
...
@@ -25,8 +25,6 @@ describe Issue do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:author_id
)
}
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
'modules'
do
describe
'modules'
do
...
...
spec/models/key_spec.rb
View file @
0f550aa3
...
@@ -20,8 +20,6 @@ describe Key do
...
@@ -20,8 +20,6 @@ describe Key do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
it
{
should_not
allow_mass_assignment_of
(
:user_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/merge_request_spec.rb
View file @
0f550aa3
...
@@ -28,8 +28,6 @@ describe MergeRequest do
...
@@ -28,8 +28,6 @@ describe MergeRequest do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:author_id
)
}
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
"Respond to"
do
describe
"Respond to"
do
...
...
spec/models/milestone_spec.rb
View file @
0f550aa3
...
@@ -22,7 +22,6 @@ describe Milestone do
...
@@ -22,7 +22,6 @@ describe Milestone do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/namespace_spec.rb
View file @
0f550aa3
...
@@ -26,8 +26,6 @@ describe Namespace do
...
@@ -26,8 +26,6 @@ describe Namespace do
it
{
should
validate_presence_of
:owner
}
it
{
should
validate_presence_of
:owner
}
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should
allow_mass_assignment_of
(
:name
)
}
it
{
should
allow_mass_assignment_of
(
:path
)
}
end
end
describe
"Respond to"
do
describe
"Respond to"
do
...
...
spec/models/note_spec.rb
View file @
0f550aa3
...
@@ -27,8 +27,6 @@ describe Note do
...
@@ -27,8 +27,6 @@ describe Note do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:author
)
}
it
{
should_not
allow_mass_assignment_of
(
:author_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/project_snippet_spec.rb
View file @
0f550aa3
...
@@ -23,7 +23,6 @@ describe ProjectSnippet do
...
@@ -23,7 +23,6 @@ describe ProjectSnippet do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/project_spec.rb
View file @
0f550aa3
...
@@ -48,8 +48,6 @@ describe Project do
...
@@ -48,8 +48,6 @@ describe Project do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:namespace_id
)
}
it
{
should_not
allow_mass_assignment_of
(
:creator_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/protected_branch_spec.rb
View file @
0f550aa3
...
@@ -17,7 +17,6 @@ describe ProtectedBranch do
...
@@ -17,7 +17,6 @@ describe ProtectedBranch do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
'Validation'
do
describe
'Validation'
do
...
...
spec/models/service_spec.rb
View file @
0f550aa3
...
@@ -27,7 +27,6 @@ describe Service do
...
@@ -27,7 +27,6 @@ describe Service do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
"Test Button"
do
describe
"Test Button"
do
...
...
spec/models/snippet_spec.rb
View file @
0f550aa3
...
@@ -24,7 +24,6 @@ describe Snippet do
...
@@ -24,7 +24,6 @@ describe Snippet do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:author_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/user_spec.rb
View file @
0f550aa3
...
@@ -65,8 +65,6 @@ describe User do
...
@@ -65,8 +65,6 @@ describe User do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:projects_limit
)
}
it
{
should
allow_mass_assignment_of
(
:projects_limit
).
as
(
:admin
)
}
end
end
describe
'validations'
do
describe
'validations'
do
...
...
spec/models/users_group_spec.rb
View file @
0f550aa3
...
@@ -20,7 +20,6 @@ describe UsersGroup do
...
@@ -20,7 +20,6 @@ describe UsersGroup do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:group_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/users_project_spec.rb
View file @
0f550aa3
...
@@ -20,7 +20,6 @@ describe UsersProject do
...
@@ -20,7 +20,6 @@ describe UsersProject do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
"Validation"
do
describe
"Validation"
do
...
...
spec/models/web_hook_spec.rb
View file @
0f550aa3
...
@@ -23,7 +23,6 @@ describe ProjectHook do
...
@@ -23,7 +23,6 @@ describe ProjectHook do
end
end
describe
"Mass assignment"
do
describe
"Mass assignment"
do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
end
describe
"Validations"
do
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