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
5a68804f
Commit
5a68804f
authored
Nov 05, 2021
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We don't need to care about the ordering here
parent
a5727ff8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/spec/support/shared_examples/controllers/registrations/projects_controller_shared_examples.rb
...lers/registrations/projects_controller_shared_examples.rb
+1
-1
No files found.
ee/spec/support/shared_examples/controllers/registrations/projects_controller_shared_examples.rb
View file @
5a68804f
...
...
@@ -71,7 +71,7 @@ RSpec.shared_examples "Registrations::ProjectsController POST #create" do
let_it_be
(
:trial_onboarding_flow_params
)
{
{
trial_onboarding_flow:
true
}
}
it
'creates a new project, a "Learn GitLab - Ultimate trial" project, does not set a cookie'
do
expect
{
subject
}.
to
change
{
namespace
.
projects
.
pluck
(
:name
)
}.
from
([]).
to
([
'New project'
,
s_
(
'Learn GitLab - Ultimate trial'
)]
)
expect
{
subject
}.
to
change
{
namespace
.
projects
.
pluck
(
:name
)
.
sort
}.
from
([]).
to
([
'New project'
,
s_
(
'Learn GitLab - Ultimate trial'
)].
sort
)
expect
(
subject
).
to
have_gitlab_http_status
(
:redirect
)
expect
(
namespace
.
projects
.
find_by_name
(
s_
(
'Learn GitLab - Ultimate trial'
))).
to
be_import_finished
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