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
a6995970
Commit
a6995970
authored
Dec 27, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mysql specs
parent
d3121501
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
ee/app/models/ee/epic.rb
ee/app/models/ee/epic.rb
+1
-1
ee/spec/lib/gitlab/usage_data_spec.rb
ee/spec/lib/gitlab/usage_data_spec.rb
+0
-1
ee/spec/models/epic_spec.rb
ee/spec/models/epic_spec.rb
+1
-1
No files found.
ee/app/models/ee/epic.rb
View file @
a6995970
...
...
@@ -169,7 +169,7 @@ module EE
# epic2 - parent: epic1
# Returns: 2
def
deepest_relationship_level
return
nil
unless
::
Gitlab
::
Database
.
postgresql?
return
unless
::
Gitlab
::
Database
.
postgresql?
result
=
ActiveRecord
::
Base
.
connection
.
execute
(
...
...
ee/spec/lib/gitlab/usage_data_spec.rb
View file @
a6995970
...
...
@@ -54,7 +54,6 @@ describe Gitlab::UsageData do
expect
(
count_data
.
keys
).
to
include
(
*
%i(
projects_mirrored_with_pipelines_enabled
epics
epics_deepest_relationship_level
geo_nodes
ldap_group_links
ldap_keys
...
...
ee/spec/models/epic_spec.rb
View file @
a6995970
...
...
@@ -443,7 +443,7 @@ describe Epic do
end
end
describe
'.deepest_relationship_level'
do
describe
'.deepest_relationship_level'
,
:postgresql
do
it
'returns the deepest relationship level between epics'
do
group_1
=
create
(
:group
)
group_2
=
create
(
:group
)
...
...
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