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
bb90ecba
Commit
bb90ecba
authored
Apr 14, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete a duplicated test and fix a flaky test
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
59dd8a69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
spec/features/projects/settings/forked_project_settings_spec.rb
...eatures/projects/settings/forked_project_settings_spec.rb
+2
-1
spec/features/projects_spec.rb
spec/features/projects_spec.rb
+0
-20
No files found.
spec/features/projects/settings/forked_project_settings_spec.rb
View file @
bb90ecba
...
...
@@ -25,7 +25,8 @@ RSpec.describe 'Projects > Settings > For a forked project', :js do
fill_in
(
'confirm_name_input'
,
with:
forked_project
.
name
)
click_button
(
'Confirm'
)
expect
(
page
).
to
have_content
(
'The fork relationship has been removed.'
)
wait_for_requests
expect
(
forked_project
.
reload
.
forked?
).
to
be_falsy
end
end
...
...
spec/features/projects_spec.rb
View file @
bb90ecba
...
...
@@ -174,26 +174,6 @@ RSpec.describe 'Project' do
end
end
describe
'remove forked relationship'
,
:js
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
fork_project
(
create
(
:project
,
:public
),
user
,
namespace:
user
.
namespace
)
}
before
do
sign_in
user
visit
edit_project_path
(
project
)
end
it
'removes fork'
,
quarantine:
'https://gitlab.com/gitlab-org/gitlab/-/issues/327817'
do
expect
(
page
).
to
have_content
'Remove fork relationship'
remove_with_confirm
(
'Remove fork relationship'
,
project
.
path
)
expect
(
page
).
to
have_content
'The fork relationship has been removed.'
expect
(
project
.
reload
.
forked?
).
to
be_falsey
expect
(
page
).
not_to
have_content
'Remove fork relationship'
end
end
describe
'showing information about source of a project fork'
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:base_project
)
{
create
(
:project
,
:public
,
:repository
)
}
...
...
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