diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 14:36:54 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 14:36:54 +0000 |
commit | f61bb2a16a514b71bf33aabbbb999d6732016a24 (patch) | |
tree | 9548caa89e60b4f40b99bbd1dac030420b812aa8 /spec/features/projects_spec.rb | |
parent | 35fc54e5d261f8898e390aea7c2f5ec5fdf0539d (diff) | |
download | gitlab-ce-13.11.0-rc42.tar.gz |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc42
Diffstat (limited to 'spec/features/projects_spec.rb')
-rw-r--r-- | spec/features/projects_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index 4730679feb8..c18b0f2688b 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -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' 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) } |