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
16dc96e4
Commit
16dc96e4
authored
Oct 23, 2019
by
gfyoung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen string for spec/policies
Partially addresses:
https://gitlab.com/gitlab-org/gitlab/issues/27703
parent
c894b04b
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
46 additions
and
0 deletions
+46
-0
spec/policies/application_setting/term_policy_spec.rb
spec/policies/application_setting/term_policy_spec.rb
+2
-0
spec/policies/base_policy_spec.rb
spec/policies/base_policy_spec.rb
+2
-0
spec/policies/ci/build_policy_spec.rb
spec/policies/ci/build_policy_spec.rb
+2
-0
spec/policies/ci/pipeline_policy_spec.rb
spec/policies/ci/pipeline_policy_spec.rb
+2
-0
spec/policies/ci/pipeline_schedule_policy_spec.rb
spec/policies/ci/pipeline_schedule_policy_spec.rb
+2
-0
spec/policies/ci/trigger_policy_spec.rb
spec/policies/ci/trigger_policy_spec.rb
+2
-0
spec/policies/clusters/cluster_policy_spec.rb
spec/policies/clusters/cluster_policy_spec.rb
+2
-0
spec/policies/deploy_key_policy_spec.rb
spec/policies/deploy_key_policy_spec.rb
+2
-0
spec/policies/deploy_token_policy_spec.rb
spec/policies/deploy_token_policy_spec.rb
+2
-0
spec/policies/environment_policy_spec.rb
spec/policies/environment_policy_spec.rb
+2
-0
spec/policies/global_policy_spec.rb
spec/policies/global_policy_spec.rb
+2
-0
spec/policies/group_policy_spec.rb
spec/policies/group_policy_spec.rb
+2
-0
spec/policies/issuable_policy_spec.rb
spec/policies/issuable_policy_spec.rb
+2
-0
spec/policies/issue_policy_spec.rb
spec/policies/issue_policy_spec.rb
+2
-0
spec/policies/merge_request_policy_spec.rb
spec/policies/merge_request_policy_spec.rb
+2
-0
spec/policies/namespace_policy_spec.rb
spec/policies/namespace_policy_spec.rb
+2
-0
spec/policies/note_policy_spec.rb
spec/policies/note_policy_spec.rb
+2
-0
spec/policies/personal_snippet_policy_spec.rb
spec/policies/personal_snippet_policy_spec.rb
+2
-0
spec/policies/project_policy_spec.rb
spec/policies/project_policy_spec.rb
+2
-0
spec/policies/project_snippet_policy_spec.rb
spec/policies/project_snippet_policy_spec.rb
+2
-0
spec/policies/protected_branch_policy_spec.rb
spec/policies/protected_branch_policy_spec.rb
+2
-0
spec/policies/resource_label_event_policy_spec.rb
spec/policies/resource_label_event_policy_spec.rb
+2
-0
spec/policies/user_policy_spec.rb
spec/policies/user_policy_spec.rb
+2
-0
No files found.
spec/policies/application_setting/term_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
ApplicationSetting
::
TermPolicy
do
...
...
spec/policies/base_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
BasePolicy
do
...
...
spec/policies/ci/build_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
Ci
::
BuildPolicy
do
...
...
spec/policies/ci/pipeline_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
Ci
::
PipelinePolicy
,
:models
do
...
...
spec/policies/ci/pipeline_schedule_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
Ci
::
PipelineSchedulePolicy
,
:models
do
...
...
spec/policies/ci/trigger_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
Ci
::
TriggerPolicy
do
...
...
spec/policies/clusters/cluster_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
Clusters
::
ClusterPolicy
,
:models
do
...
...
spec/policies/deploy_key_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
DeployKeyPolicy
do
...
...
spec/policies/deploy_token_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
DeployTokenPolicy
do
...
...
spec/policies/environment_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
EnvironmentPolicy
do
...
...
spec/policies/global_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
GlobalPolicy
do
...
...
spec/policies/group_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
GroupPolicy
do
...
...
spec/policies/issuable_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
IssuablePolicy
,
models:
true
do
...
...
spec/policies/issue_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
IssuePolicy
do
...
...
spec/policies/merge_request_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
MergeRequestPolicy
do
...
...
spec/policies/namespace_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
NamespacePolicy
do
...
...
spec/policies/note_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
NotePolicy
do
...
...
spec/policies/personal_snippet_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
# Snippet visibility scenarios are included in more details in spec/support/snippet_visibility.rb
...
...
spec/policies/project_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
ProjectPolicy
do
...
...
spec/policies/project_snippet_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
# Snippet visibility scenarios are included in more details in spec/support/snippet_visibility.rb
...
...
spec/policies/protected_branch_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
ProtectedBranchPolicy
do
...
...
spec/policies/resource_label_event_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
ResourceLabelEventPolicy
do
...
...
spec/policies/user_policy_spec.rb
View file @
16dc96e4
# frozen_string_literal: true
require
'spec_helper'
describe
UserPolicy
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