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
Léo-Paul Géneau
gitlab-ce
Commits
961ecc4c
Commit
961ecc4c
authored
Apr 04, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
f095209f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
7 deletions
+15
-7
.rubocop.yml
.rubocop.yml
+0
-2
changelogs/unreleased/gitlab-schema-spec.yml
changelogs/unreleased/gitlab-schema-spec.yml
+5
-0
changelogs/unreleased/update-large-table-spec.yml
changelogs/unreleased/update-large-table-spec.yml
+5
-0
spec/graphql/gitlab_schema_spec.rb
spec/graphql/gitlab_schema_spec.rb
+2
-2
spec/rubocop/cop/migration/update_large_table_spec.rb
spec/rubocop/cop/migration/update_large_table_spec.rb
+3
-3
No files found.
.rubocop.yml
View file @
961ecc4c
...
...
@@ -393,10 +393,8 @@ RSpec/RepeatedExample:
-
'
spec/features/projects/files/template_type_dropdown_spec.rb'
-
'
spec/finders/environments_finder_spec.rb'
-
'
spec/frontend/fixtures/merge_requests.rb'
-
'
spec/graphql/gitlab_schema_spec.rb'
-
'
spec/helpers/users_helper_spec.rb'
-
'
spec/lib/gitlab/closing_issue_extractor_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/rubocop/cop/migration/update_large_table_spec.rb'
-
'
spec/services/notification_service_spec.rb'
-
'
spec/services/web_hook_service_spec.rb'
changelogs/unreleased/gitlab-schema-spec.yml
0 → 100644
View file @
961ecc4c
---
title
:
Add missing spec for gitlab schema
merge_request
:
28855
author
:
Rajendra Kadam
type
:
added
changelogs/unreleased/update-large-table-spec.yml
0 → 100644
View file @
961ecc4c
---
title
:
Update duplicate specs in update large table spec
merge_request
:
28787
author
:
Rajendra Kadam
type
:
added
spec/graphql/gitlab_schema_spec.rb
View file @
961ecc4c
...
...
@@ -10,8 +10,8 @@ describe GitlabSchema do
expect
(
field_instrumenters
).
to
include
(
BatchLoader
::
GraphQL
)
end
it
'enables the
preload
instrumenter'
do
expect
(
field_instrumenters
).
to
include
(
BatchLoader
::
GraphQL
)
it
'enables the
generic
instrumenter'
do
expect
(
field_instrumenters
).
to
include
(
instance_of
(
::
Gitlab
::
Graphql
::
GenericTracing
)
)
end
it
'enables the authorization instrumenter'
do
...
...
spec/rubocop/cop/migration/update_large_table_spec.rb
View file @
961ecc4c
...
...
@@ -76,14 +76,14 @@ describe RuboCop::Cop::Migration::UpdateLargeTable do
expect
(
cop
.
offenses
).
to
be_empty
end
it
'registers no offense for
update_column_in_batches
'
do
it
'registers no offense for
rename_column_concurrently
'
do
inspect_source
(
"rename_column_concurrently :
#{
table
}
, :column, default: true"
)
expect
(
cop
.
offenses
).
to
be_empty
end
it
'registers no offense for update_column_
in_batches
'
do
inspect_source
(
"
add_column_with_default
:
#{
table
}
, :column, default: true"
)
it
'registers no offense for update_column_
concurrently
'
do
inspect_source
(
"
update_column_concurrently
:
#{
table
}
, :column, default: true"
)
expect
(
cop
.
offenses
).
to
be_empty
end
...
...
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