diff options
Diffstat (limited to 'spec/features/projects/user_browses_a_tree_with_a_folder_containing_only_a_folder.rb')
-rw-r--r-- | spec/features/projects/user_browses_a_tree_with_a_folder_containing_only_a_folder.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/features/projects/user_browses_a_tree_with_a_folder_containing_only_a_folder.rb b/spec/features/projects/user_browses_a_tree_with_a_folder_containing_only_a_folder.rb deleted file mode 100644 index a17e65cc5b9..00000000000 --- a/spec/features/projects/user_browses_a_tree_with_a_folder_containing_only_a_folder.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'spec_helper' - -# This is a regression test for https://gitlab.com/gitlab-org/gitlab-ce/issues/37569 -describe 'User browses a tree with a folder containing only a folder' do - let(:project) { create(:project, :empty_repo) } - let(:user) { project.creator } - - before do - # We need to disable the tree.flat_path provided by Gitaly to reproduce the issue - allow(Gitlab::GitalyClient).to receive(:feature_enabled?).and_return(false) - - project.repository.create_dir(user, 'foo/bar', branch_name: 'master', message: 'Add the foo/bar folder') - sign_in(user) - visit(project_tree_path(project, project.repository.root_ref)) - end - - it 'shows the nested folder on a single row' do - expect(page).to have_content('foo/bar') - end -end |