BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
800c9bf3
Commit
800c9bf3
authored
Aug 22, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `:nested_groups` metadata to two subgroup-related specs
Prevents these from failing on MySQL. Closes #36811 and #36812.
parent
7965f4e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
new_menu_spec.rb
spec/features/explore/new_menu_spec.rb
+1
-1
create_service_spec.rb
spec/services/groups/create_service_spec.rb
+1
-1
No files found.
spec/features/explore/new_menu_spec.rb
View file @
800c9bf3
...
...
@@ -74,7 +74,7 @@ feature 'Top Plus Menu', :js do
expect
(
page
).
to
have_content
(
'Title'
)
end
scenario
'Click on New subgroup shows new group page'
do
scenario
'Click on New subgroup shows new group page'
,
:nested_groups
do
visit
group_path
(
group
)
click_topmenuitem
(
"New subgroup"
)
...
...
spec/services/groups/create_service_spec.rb
View file @
800c9bf3
...
...
@@ -22,7 +22,7 @@ describe Groups::CreateService, '#execute' do
end
end
describe
'creating subgroup'
do
describe
'creating subgroup'
,
:nested_groups
do
let!
(
:group
)
{
create
(
:group
)
}
let!
(
:service
)
{
described_class
.
new
(
user
,
group_params
.
merge
(
parent_id:
group
.
id
))
}
...
...
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